Skip to content

Instantly share code, notes, and snippets.

@rosehgal
Created December 4, 2017 07:10
Show Gist options
  • Save rosehgal/b4c837a94debc4a966c4ceb326b7b3db to your computer and use it in GitHub Desktop.
Save rosehgal/b4c837a94debc4a966c4ceb326b7b3db to your computer and use it in GitHub Desktop.
from app.admin import admin_site
urlpatterns = [
url(r'^app/',include('app.urls',namespace="app"),name='app_access'),
#informing the django about the new admin site
# TADA thats done !! whhoh
url(r'^admin/', include(admin_site.urls)),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment