On Tue, 14 Mar 2006 20:57:36 +0100 Arthur <[EMAIL PROTECTED]> wrote:
> > Hi Jeremy > > > > AttributeError: 'module' object has no attribute 'someapp' > > > > I believe you want the <project>.<app> in your settings.py Give > > that a go and see if it helps. > > If you're talking about the installed apps, they look like this: > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'myproject.myapp', > ) > > The error naturally only occurs with the last line. Did I miss > something? > And is there a directory named "myapp" under the directory "myproject"? If I misname the project, I get an error ending in: """ ImportError: No module named someproject """ If I misname the application, I get an error ending in: """ AttributeError: 'module' object has no attribute 'someapp' """ So, unless things are whacky, you've specified the correct project, but an invalid application. - jmj --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---