Do you have a variable called PollsConfig inside this file (
*mainsite/apps.py*)
If yes, can you change *polls.apps.PollsConfig* in your INSTALLED_APPS
into *mainsite.apps.PollsConfig*
On Tuesday, 8 March 2022 at 21:55:08 UTC+8 alec...@gmail.com wrote:
> these are my folders. the only thing t
these are my folders. the only thing the tutorial had me create upon
creation of the project and app was a urls.py file inside my "mainsite"
folder. and I show in the code above what it had me add. those are the only
things I have done
On Tuesday, March 8, 2022 at 7:12:23 AM UTC-6 jmizpaha...@g
Question: Do you have a folder named polls in your project directory? And
inside that directory there's an apps.py file?
On Tuesday, 8 March 2022 at 11:47:56 UTC+8 alec...@gmail.com wrote:
>
> this is what i did and it changed nothing. i also don't know what exactly
> you mean by app because I
this is what i did and it changed nothing. i also don't know what exactly
you mean by app because I don't believe I ever created an app. as shown
above the code 2 lines of code with polls is the only thing I've added as
shown in the tutorial
On Monday, March 7, 2022 at 8:47:46 PM UTC-6 guitard
That's definitely your problem. Include the app under INSTALLED_APPS - put
"app_name.apps.AppNameConfig" with app_name being the name of your app.
On Monday, March 7, 2022 at 11:35:40 AM UTC-6 alec...@gmail.com wrote:
> this is the installed apps in settings.py I haven't touched it. i only did
Sent from my GalaxyVisit your settings.py file and include the app in
INSTALLED_APPS. Check if that works.
Original message From: Alec Greenholdt
Date: 07/03/2022 00:24 (GMT+00:00) To: Django users
Subject: Including URLconf as described in the
documentation i am putting
Do you have the app imported in the settings.py?
Also try using the "app_name" var in each of your urls.py files.
On Sunday, March 6, 2022 at 10:29:23 PM UTC-6 alec...@gmail.com wrote:
>
> if i try to migrate, this error pops up as well
> On Sunday, March 6, 2022 at 6:24:44 PM UTC-6 Alec Greenho
7 matches
Mail list logo