我正在尝试使用简单的后端将 django-registration 添加到 django 文档中的教程应用程序中。
到目前为止,我包含了 URLconf registration.backends.simple.urls
,如下所示:
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^polls/', include('polls.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^accounts/', include('registration.backends.simple.urls')),
)
接下来我该怎么做?此外,与默认后端相比,简单后端需要哪些模板?