Doah! Thanks. On Jul 27, 2:04 am, Daniel Roseman <[email protected]> wrote: > On Jul 27, 6:34 am, strayhand <[email protected]> wrote: > > > I don't get why I'm getting a validation error with my code. I thought > > that all of the built in fields are referenced inside of "from > > django.db import models". Thanks for any help that you may offer. > > <snip> > > > status = models.CharField(max_length=7, choices=STATUS_OPTIONS) > > submit_date = DateTimeField(auto_now_add=True) > > change_date = DateTimeField(auto_now=True) > > They are, but you're not referring to it there. Everywhere else, you > use models.<whatever>Field - but for some reason on these two > DateTimeFields you've missed off the 'models.' reference. > -- > DR.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

