Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Lim Kai Wey
Glad it all worked out. Good luck at your journey. -- 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 view this

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Franck Tchouanga
coool am glad it was helpful. Welcome . On Thu, Aug 1, 2019 at 12:13 PM Sammy Agrawal wrote: > Thank you all so much! Franck's suggestion did it and now I'm further > along on my Django journey! > > On Thu, Aug 1, 2019 at 6:42 AM Lim Kai Wey wrote: > >> Besides that, I do recommend

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Franck Tchouanga
Yes, so respect the syntaxes exactly it is written by default in django, its a better practice to avoid unwanted errors. Just need to give modification depending on the project you created On Thu, Aug 1, 2019 at 12:07 PM Nde Nguti wrote: > Just out of curiosity, Python is case sensitive. The

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Rana Sarkar
You check your app name ,then check Include ('appname.urls') U also create urls.py inside your app. On Thu, Aug 1, 2019, 17:07 Sunny Kumar wrote: > Hi, > > I also having the same problem. And the actual reason was *(poll instead > of polls). *Please check once in your view or url file. I am

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Sammy Agrawal
Thank you all so much! Franck's suggestion did it and now I'm further along on my Django journey! On Thu, Aug 1, 2019 at 6:42 AM Lim Kai Wey wrote: > Besides that, I do recommend Morzilla's Django Tutorial too, as it covers > more in the tutorial compared to Django's own tutorial. > > Link: > >

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Nde Nguti
Just out of curiosity, Python is case sensitive. The function names, 'path' and variable 'urlpatterns'. I have gone through the tutorials with no problem. On Thu, Aug 1, 2019, 11:04 Franck Tchouanga wrote: > Firstly in your mysite/mysite/URLs.py in the url patterns portion instead > type this

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Sunny Kumar
Hi, I also having the same problem. And the actual reason was *(poll instead of polls). *Please check once in your view or url file. I am sure you also having the same issue. [image: Mailtrack] Sender

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Lim Kai Wey
Besides that, I do recommend Morzilla's Django Tutorial too, as it covers more in the tutorial compared to Django's own tutorial. Link: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Tutorial_local_library_website Regards, Kai Wey On Thu, Aug 1, 2019 at 6:35 PM Lim Kai Wey

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Lim Kai Wey
I do agree that you Sammy could try changing the mysite/mysite/setting.py INSTALLED_APPS=[ 'polls.apps.PollsConfig', The rest of the code """ ] And I too was wondering if he placed 'polls/' as his URL in mysite/polls/urls.py that cause the

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Franck Tchouanga
I wanted to precise at the level of the syntax from what I wrote above Urlpatterns = [ Path(' ',include('polls.URLs')), Path('admin/', admin.site.urls), ] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Franck Tchouanga
In the mysite/mysite/setting.py do as follows INSTALLED_APPS=[ 'Polls.apps.pollsConfig', The rest of the code """ ] So you should erase the polls you wrote at the end. Hope will be helpful waiting for your feedbacks -- You received this

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Franck Tchouanga
Firstly in your mysite/mysite/URLs.py in the url patterns portion instead type this Urlpatterns=[ Path('',include ('polls.URLs')), Path('admin/',admin.site.URLs), ] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Writing your first Django app, part 1 - Can't Follow it

2019-08-01 Thread Franck Tchouanga
Got the solution to your problem -- 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 view this discussion on the web

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Anike Sadia
Hi I am new here On Thu, 1 Aug 2019 at 01:33, Lim Kai Wey wrote: > Sammy, would you mind attaching the whole project folder? Thanks > > Regards, > Kai Wey > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Lim Kai Wey
Sammy, would you mind attaching the whole project folder? Thanks Regards, Kai Wey -- 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

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Sammy Agrawal
I’m on Mac, and am still having this problem. On Wed, Jul 31, 2019 at 10:46 AM Charlotte Wood < charlotte.w...@epiccharterschools.org> wrote: > Windows? > > On Wed, Jul 31, 2019, 6:20 AM Sammy Agrawal wrote: > >> Still having this problem- no solution found >> >> On Tuesday, February 9, 2016 at

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Charlotte Wood
Windows? On Wed, Jul 31, 2019, 6:20 AM Sammy Agrawal wrote: > Still having this problem- no solution found > > On Tuesday, February 9, 2016 at 7:22:58 PM UTC-5, michaela...@gmail.com > wrote: >> >> Hi, >> >> I am running into the same problem as this: >> >>

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Lim Kai Wey
To Sammy, Are you sure your urls.py is in the correct file directory? As in it should be in mysite/mysite/urls.py instead of mysite/urls.py Regards, Kai Wey -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Karan Mittal
Give the polls.urls in quotes like this. "polls.urls" Karan Mittal On Wed 31 Jul, 2019, 4:50 PM Sammy Agrawal, wrote: > Still having this problem- no solution found > > On Tuesday, February 9, 2016 at 7:22:58 PM UTC-5, michaela...@gmail.com > wrote: >> >> Hi, >> >> I am running into the same

Re: Writing your first Django app, part 1 - Can't Follow it

2019-07-31 Thread Sammy Agrawal
Still having this problem- no solution found On Tuesday, February 9, 2016 at 7:22:58 PM UTC-5, michaela...@gmail.com wrote: > > Hi, > > I am running into the same problem as this: > > http://stackoverflow.com/questions/30493018/404-error-in-writing-your-first-django-app-tutorial > > Now I can

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-10 Thread James Schneider
On Feb 9, 2016 4:22 PM, wrote: > > Hi, > > I am running into the same problem as this: > http://stackoverflow.com/questions/30493018/404-error-in-writing-your-first-django-app-tutorial > > Now I can just follow the Alasdair's recommendation and delete the polls/url.py

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-10 Thread michaelatnanocube
Hi, thank you that was it! On Wednesday, February 10, 2016 at 4:48:11 AM UTC+2, bipulr wrote: > > I remember doing the django tutorial long time back, it just works. > > The import error means that file polls/urls.py is not there. Check may be > you have left "s" in ulrs. You might have created

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Thiago Reis
* 'Mysite.urls" 2016-02-09 23:54 GMT-03:00 Thiago Reis : > I believe it is because your (MySite) is in upper case. > > ROOT_URLCONF = 'mysite.urls' > > must be: > > ROOT_URLCONF = 'MySite.urls' > > > 2016-02-09 23:47 GMT-03:00 Bipul Raj : > >> I remember

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Thiago Reis
I believe it is because your (MySite) is in upper case. ROOT_URLCONF = 'mysite.urls' must be: ROOT_URLCONF = 'MySite.urls' 2016-02-09 23:47 GMT-03:00 Bipul Raj : > I remember doing the django tutorial long time back, it just works. > > The import error means that file

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Bipul Raj
I remember doing the django tutorial long time back, it just works. The import error means that file polls/urls.py is not there. Check may be you have left "s" in ulrs. You might have created polls/url.py. On 10 February 2016 at 04:05, wrote: > Hi, > > I am

Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread michaelatnanocube
Hi, I am running into the same problem as this: http://stackoverflow.com/questions/30493018/404-error-in-writing-your-first-django-app-tutorial Now I can just follow the Alasdair's recommendation and delete the polls/url.py file, but the tutorial is very clear about having two separate