Undid gratuitous whitespace and quoting changes. This code is taken verbatim from an external source, as indicated at the beginning of the file, and should not be messed with unless we fix bugs.

- Legacy-Id: 6280
This commit is contained in:
Henrik Levkowetz 2013-09-26 21:10:41 +00:00
parent 2f890235de
commit 321744b0b9

View file

@ -22,13 +22,13 @@ from south.modelsinspector import add_introspection_rules
SECS_PER_DAY=3600*24
class TimedeltaField(models.Field):
"""
u'''
Store Python's datetime.timedelta in an integer column.
Most database systems only support 32 bit integers by default.
"""
'''
__metaclass__ = models.SubfieldBase
empty_strings_allowed = False
def __init__(self, *args, **kwargs):
super(TimedeltaField, self).__init__(*args, **kwargs)