sweettea/ESP-Website — comment on commit f545d9a8ebaa83fd467080966bf3b59eba5acb51
File:  line 0
By pteromys:

It looks like it's probably better to use DATETIME_INPUT_FORMATS, since that agrees with what we had previously.
```python
dtf = formats.get_format('DATETIME_INPUT_FORMATS') # this returns a list so don't put it in one
```

The difference is visible at
https://docs.djangoproject.com/en/dev/ref/settings/#datetime-format
(DATETIME_FORMAT is not usable for parsing).

(Personally, I prefer python-dateutil's parse() function because you don't have to specify a format, and it'll just guess. However, I'd rather not add yet another dependency for a relatively insignificant feature.)