Hi,
> Le 5 janv. 2015 à 16:41, ibes ... <[email protected]> a écrit : > > hello, > I am frustrated with django and phyton tutorial it is very difficult > i'm having a problem with the tutorial of django and python, > > am using django 1.7.1 and python 2.7 on win xp-sp3 so far it was good, i > create everything without problem but in tutorial step where it says: > > https://docs.djangoproject.com/en/1.7/intro/tutorial01/ > > Once you’re in the shell, explore the database API > <https://docs.djangoproject.com/en/1.7/topics/db/queries/>: > > i've got the message: > > C:\xampp\htdocs\primerdjango>manage.py runserver > Traceback (most recent call last): > File "D:\xampp\htdocs\primerdjango\manage.py", line 10, in <module> > execute_from_command_line(sys.argv) > File > "D:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\core\managem > ent\__init__.py", line 385, in execute_from_command_line > utility.execute() > File > "D:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\core\managem > ent\__init__.py", line 354, in execute > django.setup() > File > "D:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\__init__.py" > , line 21, in setup > apps.populate(settings.INSTALLED_APPS) > File > "D:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\apps\registr > y.py", line 85, in populate > app_config = AppConfig.create(entry) > File > "D:\Python27\lib\site-packages\django-1.7.1-py2.7.egg\django\apps\config. > py", line 123, in create > import_module(entry) > File "D:\Python27\lib\importlib\__init__.py", line 37, in import_module > __import__(name) > ImportError: No module named polls > > i don't know what to do.... can anyone help, please!!! > > sorry for my bad english… It looks like Python couldn’t find the « polls » directory. Maybe you didn’t create it or it is at the wrong location. Could you write us where the « polls » directory is, relating to « mysite » ? Regards, Xavier Ordoquy, Linovia. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6CA9FED6-CCA2-4854-B834-8D6F3B74D316%40linovia.com. For more options, visit https://groups.google.com/d/optout.

