I have this miniblog, I run " manage.py runserver " in cmd, and run " http://127.0.0.1:8000/ " in browser its open my Home/index page,
but the problem is when " http://127.0.0.1:8000/admin " it won't redirect, is the problem with URL.py ? Thank you for your time, AC
In you project/url.py, make sure you have this :
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.