On 7/30/07, Greg <[EMAIL PROTECTED]> wrote: > > Russ, > I tried including the code that you recommended. However, I'm still > getting the same error: > > AttributeError at /admin/rugs/orders/1/ > 'unicode' object has no attribute 'strftime'
Just to clarify - If you create, modify and save an object at the command prompt, it works fine. You can retrieve the object using the command line using calls to filter, etc, and print out objects retrieved (e.g., print Order.objects.get(pk=1) ). However, when you view the object in the admin pages you get an error. Is this correct? If this is the case, it is possible that you have encountered some sort of bug with the admin views dealing with date fields; to help track this down, could you provide: - A full stack trace of the error you are seeing - The exact revision of Django you are using - The code for the Order model - The database backend you are using Thanks, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---