Working on reg

master
Nick Sergeant 2012-02-12 20:26:51 -05:00
parent f03ec50cb2
commit e1572bc268
3 changed files with 7 additions and 4 deletions

View File

@ -6,7 +6,6 @@ django-annoying
django-bcrypt
django-grappelli
django-pagination
django-registration
django-storages
django-taggit
django-tastypie
@ -22,3 +21,5 @@ pyyaml
South
uuid
Werkzeug
hg+ssh://hg@bitbucket.org/ubernostrum/django-registration#egg=django-registration

View File

@ -178,6 +178,7 @@ LOGGING = {
}
# Email
DEFAULT_FROM_EMAIL = 'site@snipt.net'
SERVER_EMAIL = 'site@snipt.net'
EMAIL_BACKEND = 'postmark.django_backend.EmailBackend'
POSTMARK_API_KEY = '608d3101-1706-4a96-819f-f2f36fe00fe0'

View File

@ -30,9 +30,10 @@ urlpatterns = patterns('',
url(r'^api/', include(private_api.urls)),
url(r'^signup/$',
'registration.views.register', {
'backend': 'registration.backends.default.DefaultBackend'},
name='registration_register'),
'registration.views.register', {
'backend': 'registration.backends.default.DefaultBackend'
},
name='registration_register'),
url(r'', include('registration.backends.default.urls')),
url(r'^', include('snipts.urls')),