I'm not much good with Python directly, but it might have something to do with an import statement at the top of your models.py -- or you might have a typo somewhere. Is there a time when you're trying to convert a date/time to a string with strftime? (Note the "f" instead of the "p".)
On Wed, Apr 2, 2008 at 12:18 AM, Ryan Vanasse <[EMAIL PROTECTED]> wrote: > > Thanks for the reply. I checked the DB file and yes, you were correct > about the updating the table. > > I updated it using the manage.py sqlreset command. Currently it > contains an event date of type "date" (in the database mind you). > > However, I also commented out, and then removed for good measure, the > "ordering" part of the model. Still nothing. > > The exception is relating to _strptime.py. > > I am wondering if maybe there's some conflict because my app name is > calendar...is it possible that this conflicts with a calendar object > in _strptime.py? > > > On Apr 1, 9:09 am, "Erik Vorhes" <[EMAIL PROTECTED]> wrote: > > That's because the table storing your information doesn't have an > > "EventDate" field, and it can't be ordered by something that doesn't > > exist. You'll need to update the table before it will work correctly. > > > > > > On Mon, Mar 31, 2008 at 1:25 AM, Ryan Vanasse <[EMAIL PROTECTED]> wrote: > > > > > I just commented out the ordering, and it's bringing up the same > > > error. > > > > > When I try looking at the Events list (to check if anything was > > > added), and got a Template syntax error. (see below) > > > I used an SQLite admin program to check out what was in the > > > calendar_Events table and found nothing. > > > > > I have a couple of other projects on the same install (for > > > experimentation) and they all appear to be working. > > > I'm using .96 > > > > > Template syntax error: > > > TemplateSyntaxError at /admin/calendar/event/ > > > 'admin_list' is not a valid tag library: Could not load template > > > library from django.templatetags.admin_list, cannot import name isleap > > > Request Method: GET > > > > > Request URL: http://127.0.0.1:8000/admin/calendar/event/ > > > Exception Type: TemplateSyntaxError > > > Exception Value: 'admin_list' is not a valid tag library: Could > not > > > load template library from django.templatetags.admin_list, cannot > > > import name isleap > > > Exception Location: C:\Python25\lib\site-packages\django\template > > > \defaulttags.py in load, line 750 > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---