Django urls.py配置

urlpatterns = [
(r'^', user_page),
(r'^login/$', 'django.contrib.auth.views.login'),
]

你可能感兴趣的:(Django urls.py配置)