app-generator / django-coreui

CoreUI - Django Dashboard (Free Product) | AppSeed
https://appseed.us/product/coreui/django/
Other
90 stars 39 forks source link

url namespace warnings #10

Closed ersanjay5991 closed 3 years ago

ersanjay5991 commented 3 years ago

WARNINGS:
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace
app-generator commented 3 years ago

Hello @ersanjay5991

To suppress this warning try to update the core/urls.py file as below:

urlpatterns = [
    path('admin/', admin.site.urls),          # Django admin route
    path('admin' , admin.site.urls),          # Django admin route                    # <-- REMOVE this line
    path("", include("authentication.urls")), # Auth routes - login / register
    path("", include("app.urls"))             # UI Kits Html files
]
ersanjay5991 commented 3 years ago

Thanks lot it work fine.

please update into your master branch