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
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
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
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
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
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
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
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
8 matches
Mail list logo