Saturday, August 25, 2018

Re: Problem: django url Admin/ is autmatically coverted to admin/

if you have your urls file like 


urlpatterns = [      path('admin/', admin.site.urls),  ]

that sends everything with the url somesite.com/admin to the django admin.

either remove the django admin app and replace with your own, or use a different path

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a7722984-8291-42af-8ac0-0ab56d59475f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment