On 31-Mar-08, at 10:28 AM, Ryan Vanasse wrote:

> class Event(models.Model):
>       eventName = models.CharField(maxlength=63)
>       #eventDate = models.DateField()
>       start_time = models.DateTimeField()
>       end_time = models.DateTimeField()
>       eventLocation = models.CharField(maxlength = 63)
>       eventDetails = models.TextField()
>
>       def __str__(self):
>               return self.eventName
>
>       class Admin:
>               list_display = ('eventName', 'eventLocation',)
>               list_filter = ('eventLocation',)
>               ordering = ('-eventDate',)
>               search_fields =('eventName','eventLocation',)

you have eventDate commented out in the model, but are specifying  
ordering by eventDate. I am sure the model is getting saved, and this  
error arises on generating the change list after the save.

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to