I can't use DurationField

13 views
Skip to first unread message

Body Abdo

unread,
Jan 2, 2018, 4:35:43 PM1/2/18
to Django users
 
I get error :
ValueError: Enter a valid duration.

When i'm importing excel file - i'm using postgresql
my models.py

An Series class - for describe series in the system
"""
id = models.CharField(max_length=20)
program = models.CharField(max_length=100)
tape = models.CharField(max_length=100)
duration = models.DurationField()


Reply all
Reply to author
Forward
0 new messages