Re: Django polls application problem
On Thu, Jun 20, 2013 at 7:56 PM, Kamal Kaurwrote: > I am new to Django. Creating my first application, Polls. Some field was > missing in database when I tried to enter multiple > choices in a poll from terminal. Even it was not done when admin.py > file was changed to show a bunch of choices. Now previous database is > dropped and a new one is created. Now python server is not running :( > > $ python manage.py runsrver > ImportError: Could not import settings 'myapp.settings' (Is it on > sys.path?): No module named myapp.settings I think you are calling your project, call something sensible, like your application which is present in the installed application. > Thanks in advance > > -- > 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 django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Satinderpal Singh -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: Django polls application problem
Hi Kamal, I am also new to django, but it looks like you misspelled server in runserver, could you maybe just check that you typed it in correctly as in $ python manage.py runserver On Thu, Jun 20, 2013 at 4:26 PM, Kamal Kaurwrote: > I am new to Django. Creating my first application, Polls. Some field was > missing in database when I tried to enter multiple > choices in a poll from terminal. Even it was not done when admin.py > file was changed to show a bunch of choices. Now previous database is > dropped and a new one is created. Now python server is not running :( > > $ python manage.py runsrver > ImportError: Could not import settings 'myapp.settings' (Is it on > sys.path?): No module named myapp.settings > > Thanks in advance > > -- > 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 django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Ernest Mundia "Keep lookingDon't settle" -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Django polls application problem
I am new to Django. Creating my first application, Polls. Some field was missing in database when I tried to enter multiple choices in a poll from terminal. Even it was not done when admin.py file was changed to show a bunch of choices. Now previous database is dropped and a new one is created. Now python server is not running :( $ python manage.py runsrver ImportError: Could not import settings 'myapp.settings' (Is it on sys.path?): No module named myapp.settings Thanks in advance -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.