When register app in config right all path to the app like
“app1.app1a”
On Tue, 18 Oct 2022 at 1:02 PM Jun Tanaka wrote:
>
> mysite/
>
> manage.py
>
> config/
>
> __init__.py
>
> settings.py
>
> urls.py
>
> wsgi.py
>
> app1/
>
> app1a/
>
>
Hello there, can we arrange Google meetings so that I can be able to learn
from you? I'm a Python Beginner.
On Wednesday, 19 October 2022 at 07:49:41 UTC+3 eupaulo...@gmail.com wrote:
> First of all, you need to add all your apps in INSTALED APPS into the
> project > setings.py. I have 3 apps,
Hi,
Both are correct and lead to the same thing, however Django documentation
seems to prefer *odo.apps.TodoConfig*
I hope that helps
Kind regards
Aziz
On Wednesday, October 19, 2022 at 8:10:05 AM UTC+1 tna...@gmail.com wrote:
> Also, some website says something like
>
> INSTALLED_APPS = [
Register all your apps in the settings.py file and ensure the namespace is
set to the app name in the urls.py in the project directory
On Tue, Oct 18, 2022 at 10:01 AM Jun Tanaka wrote:
>
> mysite/
>
> manage.py
>
> config/
>
> __init__.py
>
> settings.py
>
>
Also, some website says something like
INSTALLED_APPS = [ 'todo.apps.TodoConfig',
You say,
INSTALLED_APPS = [ 'todo',
I am confused. Which is proper? And the difference?
2022年10月19日水曜日 13:49:41 UTC+9 eupaulo...@gmail.com:
> First of all, you need to add all your apps in INSTALED
Thank you for your answer. I can not see below "Let me show you an
example". Probably, some of last sentences got cutoff. And I want to see an
example.
2022年10月19日水曜日 13:49:41 UTC+9 eupaulo...@gmail.com:
> First of all, you need to add all your apps in INSTALED APPS into the
> project >
First of all, you need to add all your apps in INSTALED APPS into the
project > setings.py. I have 3 apps, core, members, and home.
INSTALLED_APPS = [
(..)
'core',
'members',
'home',
]
Secondly, you need to create a route to each app in your project > urls.py
urlpatterns = [
path('
Hi ! Thanks for making an appointment with us. We’re located at . We look
forward to seeing you then!
On Tue, Oct 18, 2022 at 11:01 AM Jun Tanaka wrote:
>
> mysite/
>
> manage.py
>
> config/
>
> __init__.py
>
> settings.py
>
> urls.py
>
> wsgi.py
>
>
8 matches
Mail list logo