Re: I am trying to create polls project as mentiioned in the django website

2018-06-20 Thread itsnate_b
Hi Syed, Take a look at this part of the error: File "/home/ssyed/polls/bin/mysite/mysite/urls.py", line 20, in path('polls/', include('polls.urls')), NameError: name 'include' is not defined It appears that you have missed the addition of 'include' in your urls.py file. The tutorial shows

Re: I am trying to create polls project as mentiioned in the django website

2018-06-20 Thread Sujad Syed
Hi, I have tried my best to do this as good as possible, but i still encountered the error. *ERROR :* (polls) ssyed@ssyed:~/polls/bin/mysite$ python manage.py runserver Performing system checks... Unhandled exception in thread started by .wrapper at 0x7f996a794598> Traceback (most recent call l

Re: I am trying to create polls project as mentiioned in the django website

2018-06-19 Thread itsnate_b
Syed, I really suggest you follow the Django Tutorial found here: https://docs.djangoproject.com/en/2.0/intro/tutorial01/ Go through *all* of the parts of the tutorial (there are 7 parts), line by line. Start with a completely new project. Jumping in and out of other tutorials is really not rec

Re: I am trying to create polls project as mentiioned in the django website

2018-06-19 Thread Sujad Syed
Hi Nathan, I am really confused starting up with my website i have gone through couple of Videos and sites to start with, in one of the sites, it was mentioned to make changes in urls.py and then in views.py and in settings.py [Installed Apps] to have the site worked. unfortunately i dont see vi

Re: I am trying to create polls project as mentiioned in the django website

2018-06-18 Thread Aditya Singh
Hello mate, Since you are in the beginning stages I would suggest that you start a new project and check the urls.py again inside the project directory. If not let us know! Kind Regards, Aditya On Mon, Jun 18, 2018, 10:21 PM itsnate_b wrote: > No problem. Good luck! > > On Monday, June 18, 2018

Re: I am trying to create polls project as mentiioned in the django website

2018-06-18 Thread itsnate_b
No problem. Good luck! On Monday, June 18, 2018 at 12:46:23 PM UTC-4, Django starter wrote: > > Hi Nathan, > > Appreciate your response, it wasnt there, > > I would create it again and check and thanks a lot for responding > > On Mon, Jun 18, 2018 at 11:43 PM, itsnate_b > wrote: > >> I'm assumin

Re: I am trying to create polls project as mentiioned in the django website

2018-06-18 Thread Sujad Syed
Hi Nathan, Appreciate your response, it wasnt there, I would create it again and check and thanks a lot for responding On Mon, Jun 18, 2018 at 11:43 PM, itsnate_b wrote: > I'm assuming you already did this? > django-admin startproject mysite > > If so, then you should have a mysite folder, ins

Re: I am trying to create polls project as mentiioned in the django website

2018-06-18 Thread itsnate_b
I'm assuming you already did this? django-admin startproject mysite If so, then you should have a mysite folder, inside of another mysite folder. Inside of there you should have views.py, models.py. You may need to create the urls.py file, if it's not already there. should look like what is sh