This problem was caused by the fact that my __init__.py file contained
two lines of "from django include ..." code. I must have copied these
from somewhere instead of creating them fresh. Removing these lines
fixes the problem.

> I don't understand this error, but I can tell you that you need a
> models.py for Django to recognise your application, even if it's
> blank. Try adding one and see if it solves your problem.

Hmm... I'm not sure this is correct because I have an app in my
project that consists of just templatetags with no models.py and it
works just fine. Applications are allowed to have no database content,
in which case it wouldn't make sense for them to require a models.py.

-dls

On Apr 15, 3:06 am, Daniel Roseman <roseman.dan...@googlemail.com>
wrote:
> On Apr 15, 2:14 am, Daniel Sisco <daniel.si...@gmail.com> wrote:
>
>
>
> > All:
>
> > I'm adding an app (from django snippits) that is just a template tag
> > for a calendar application in my blog. This is the new directory
> > structure:
>
> > /apps/postcal
> >               |
> >               ----------> __init__.py
> >               |
> >               ----------> /templatetags
> >                                         |
> >                                         ----------> __init__.py
> >                                         |
> >                                         ----------> calendar.py
>
> > settings.py has been modified to include postcal as such:
>
> > ADDITIONAL_APPS = (
> >     'recaptcha',
> >     'pingback',
> >     'watchlist',
> >     'blogroll',
> >     'robots',
> >     'django.contrib.admindocs',
> >     'gravatar',
> >     'userdata',
> >     'thumbnail',
> >     'postcal',
> >     )
>
> > Calls to manage.py that worked fine before, now throw the error:
> > "Error: no module named manager".
>
> I don't understand this error, but I can tell you that you need a
> models.py for Django to recognise your application, even if it's
> blank. Try adding one and see if it solves your problem.
> --
> DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to