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
"duh" things but it's really useful to me when I'm just starting out.

Again, thanks!
ryan


On Apr 2, 1:08 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> 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 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?
>
> It conflicts with Python's built in calendar:
>
> http://docs.python.org/lib/module-calendar.html
>
> _strptime.py does 'import calendar' thinking it will get Python's calendar
> but instead it gets your project calendar, which doesn't work for it.
>
> You need to call your app something that isn't already in use.  When in
> doubt, open up a Python prompt and try 'import xyzzy'.  If it doesn't
> respond 'ImportError: No module named xyzzy' (where xyzzy is your chosen
> name, of course), then it's not a name you should use for an app.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
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