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 <tnajun@gmail.com> wrote:
mysite/
manage.py
config/
__init__.py
settings.py
urls.py
wsgi.py
app1/
app1a/
app1b/
app2/
app3/
I would like to know how to combine apps together just like above. Each app itself works fine when runserver. I followed some websites talking about this but I always get some error like 'app1a' is not a registered namespace. I'm not very familiar with combining apps. I hope someone can tell me the simplest way to do that.
Thank you.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f4a91be8-c4a3-4fa1-9a73-bd202f1f6716n%40googlegroups.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABFHQYwkxYCV-H4g0y3ujdgWY4CgHu0ezivht_V%2BNgkbnErJVA%40mail.gmail.com.
No comments:
Post a Comment