You're very observant. Thanks :)) 2008/12/6 Karen Tracey <[EMAIL PROTECTED]>
> On Sat, Dec 6, 2008 at 11:53 AM, Marek Wawrzyczek <[EMAIL PROTECTED]>wrote: > >> In the tutorial (http://docs.djangoproject.com/en/dev/intro/tutorial01/) >> I do everything what is written, and in the >> "Activating Models" section, when I run the: >> >> python manage.py sql polls >> >> I get the following message: >> >> Traceback (most recent call last): >> File "manage.py", line 11, in <module> >> execute_manager(settings) >> File >> "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line >> 340, in execute_manager >> utility.execute() >> File >> "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line >> 295, in execute >> self.fetch_command(subcommand).run_from_argv(self.argv) >> File "/usr/lib/python2.5/site-packages/django/core/management/base.py", >> line 192, in run_from_argv >> self.execute(*args, **options.__dict__) >> File "/usr/lib/python2.5/site-packages/django/core/management/base.py", >> line 210, in execute >> translation.activate('en-us') >> File >> "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", >> line 73, in activate >> return real_activate(language) >> File >> "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", >> line 43, in delayed_loader >> return g['real_%s' % caller](*args, **kwargs) >> File >> "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", >> line 209, in activate >> _active[currentThread()] = translation(language) >> File >> "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", >> line 198, in translation >> default_translation = _fetch(settings.LANGUAGE_CODE) >> File >> "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", >> line 181, in _fetch >> app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), >> appname[p+1:]) >> AttributeError: 'module' object has no attribute 'pools' >> >> What do I do wrong ? >> > > You misspelled 'polls' as 'pools' in INSTALLED_APPS? > > Karen > > > > > -- Pozdrawiam, Marek Wawrzyczek --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---