django-natural-keys
django-natural-keys copied to clipboard
RFE: representation of datetime
The str() representation of a datetime value is s.isoformat(sep=' ') whereas the representation of a DateTimeField is s.isoformat(sep='T').
It would be nice to have the option for natural_key representation of datetime values using the latter... perhaps adding a datetime_separator variable similar to the natural_key_separator variable. Example attached.
thanks