Commit 7fa02525 authored by Okhin's avatar Okhin
Browse files

Activate user registration

parent 5b9b20be
...@@ -139,6 +139,8 @@ INSTALLED_APPS = ( ...@@ -139,6 +139,8 @@ INSTALLED_APPS = (
# Uncomment the next line to enable admin documentation: # Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs', # 'django.contrib.admindocs',
'tastypie', 'tastypie',
# Register users
'registration',
# Haystack for searching through results # Haystack for searching through results
'haystack', 'haystack',
# Debugging bar # Debugging bar
......
...@@ -66,6 +66,8 @@ urlpatterns = patterns('', ...@@ -66,6 +66,8 @@ urlpatterns = patterns('',
'django.contrib.auth.views.logout', {'next_page': '/'}), 'django.contrib.auth.views.logout', {'next_page': '/'}),
url(r'^accounts/', url(r'^accounts/',
include('django.contrib.auth.urls')), include('django.contrib.auth.urls')),
url(r'^register/',
include('registration.backends.model_activation.urls')),
url(r'^comments/', url(r'^comments/',
include('django_comments.urls')), include('django_comments.urls')),
url(r'^about/$', url(r'^about/$',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment