Hi All,
For some reason my DateTimeField is not showing a calendar next to the
'DateTime' box in my view. My code from models.py is below. Can anyone
offer me any suggestions? I am using 0.96.
Thanks,
Ed
from django.db import models
class Course(models.Model):
course = models.CharField(maxlength=100, core=True)
start_date = models.DateTimeField()
end_date = models.DateTimeField()
def __str__(self):
return self.course
class Admin:
list_display = ('course', 'start_date', 'end_date', )
list_filter = ('course',)
ordering = ('-course',)
search_fields = ('course',)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---