diff options
-rwxr-xr-x | urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,8 +6,8 @@ from pytask.profile.forms import CustomRegistrationForm from django.shortcuts import redirect # Uncomment the next two lines to enable the admin: -# from django.contrib import admin -# admin.autodiscover() +from django.contrib import admin +admin.autodiscover() urlpatterns = patterns('', # Example: @@ -17,7 +17,7 @@ urlpatterns = patterns('', # (r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: - # (r'^admin/', include(admin.site.urls)), + (r'^admin/', include(admin.site.urls)), url(r'^accounts/register/$', register, {'form_class': CustomRegistrationForm}, |