Stuck in "polls" example
Running PyCharm on Windows Vista. No issues there.
Working through this example to make sure everything works:
http://www.jetbrains.com/pycharm/quickstart/django_guide.html
I'm all the way down at "Creating Models"
I get here:
I open manage.py, press Ctrl+Alt+R and get a little window to select the application.
First I left it at the first selection that appeared "admin". That worked but it resulted in something completely unrelated.
I re-ran it and this time selected "polls". I get the following error message:
Not sure what to do now. I am not really familiar with Django. Here's INSTALLED_APPS:
I'd appreciate a shove in the right direction.
Thanks.
Working through this example to make sure everything works:
http://www.jetbrains.com/pycharm/quickstart/django_guide.html
I'm all the way down at "Creating Models"
I get here:
First, select sql from the suggestion list, and choose the desired application name. This command generates SQL statements for both classes of the polls application:"
I open manage.py, press Ctrl+Alt+R and get a little window to select the application.
First I left it at the first selection that appeared "admin". That worked but it resulted in something completely unrelated.
I re-ran it and this time selected "polls". I get the following error message:
CommandError: App with label polls could not be found. Are you sure your INSTALLED_APPS setting is correct?
Not sure what to do now. I am not really familiar with Django. Here's INSTALLED_APPS:
INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'polls', )
I'd appreciate a shove in the right direction.
Thanks.
Please sign in to leave a comment.