Re: 'python manage.py startapp polls' doesn't generate urls.py in polls

2020-12-07 Thread Julie Reier
Nevermind. I managed to create the missing file myself. On Monday, December 7, 2020 at 9:48:59 AM UTC-5 Julie Reier wrote: > Hi! I'm following the tutorial at > https://docs.djangoproject.com/en/3.1/intro/tutorial01/. > > When running the 'python manage.py startapp polls' command, the urls.py >

Re: 'python manage.py startapp polls' doesn't generate urls.py in polls

2020-12-07 Thread Mohemed Misfar
Good evening, When u run the code python manage.py startapp, it wont create urls.py. You have to create it in your every apps after run that command. You will only have the urls.py file in your main app which has the settings.py. Thank you. On Mon, 7 Dec 2020 20:18 Julie Reier, wrote: > Hi! I'm

'python manage.py startapp polls' doesn't generate urls.py in polls

2020-12-07 Thread Julie Reier
Hi! I'm following the tutorial at https://docs.djangoproject.com/en/3.1/intro/tutorial01/. When running the 'python manage.py startapp polls' command, the urls.py file is generated in the top level directory, but not in the polls directory. I even tried the tutorial a second time, naming the si