Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-04-02 Thread Ryan Vanasse
After looking at the exception some more, I was thinking it would be that. Well, I'll have to rename the app...since I'm pretty early in the dev process I should be alright. Thanks kenneth, Erik, and Karen, for your help. And especially thanks for the import test statement. It's one of those "du

Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-04-02 Thread Karen Tracey
On Wed, Apr 2, 2008 at 1: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 data

Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-04-02 Thread Erik Vorhes
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, Ap

Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-04-01 Thread Ryan Vanasse
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,

Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-04-01 Thread Erik Vorhes
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 comment

Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-03-30 Thread Ryan Vanasse
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

Re: 'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-03-30 Thread Kenneth Gonsalves
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(ma

'module' object has no attribute 'day_abbr' --Problem editing using Admin

2008-03-30 Thread Ryan Vanasse
I'm sorry for writing at such an early, clueless time in my learning process (both with python and django) but this problem appears to be in code I didn't write and I'm not sure what the best way to work around this problem is. I'm sorry for not having lurked more to understand the norms of this g