My main aim is to run separate instances of the django.admin and drf API
On Sun, Mar 1, 2020, 04:23 Stephen J. Butler
wrote:
> I think so. Haven't tested, one way should be be to have have two
> url.py's, one that includes only the admin URLs and one that includes only
> your project URLs. Then
I think so. Haven't tested, one way should be be to have have two url.py's,
one that includes only the admin URLs and one that includes only your
project URLs. Then have two settings modules that look like this:
# main site settings
from .settings import *
ROOT_URLCONF = 'myproject.urls_main'
#
Hello django users is there a way i can run django-admin separately from
the main site like separate instances..any help will be appreciated
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
3 matches
Mail list logo