Revision 46a6064c urls.py.dist
b/urls.py.dist | ||
---|---|---|
1 | 1 |
from django.conf.urls.defaults import * |
2 |
from django.views.generic.simple import direct_to_template |
|
2 | 3 |
from django.conf import settings |
3 | 4 |
# Uncomment the next two lines to enable the admin: |
4 | 5 |
from django.contrib import admin |
... | ... | |
24 | 25 |
(r'^fod/admin/doc/', include('django.contrib.admindocs.urls')), |
25 | 26 |
url(r'^fod/load_js/(?P<file>[\w\s\d_-]+)/$', 'flowspy.flowspec.views.load_jscript', name="load-js"), |
26 | 27 |
|
28 |
url(r'^fod/accounts/activate/(?P<activation_key>\w+)/$', 'accounts.views.activate', name='activate_account'), |
|
29 |
url(r'^fod/activate/complete/$', |
|
30 |
direct_to_template, |
|
31 |
{ 'template': 'registration/activation_complete.html' }, |
|
32 |
name='registration_activation_complete'), |
|
33 |
|
|
27 | 34 |
# Uncomment the next line to enable the admin: |
28 | 35 |
(r'^fod/admin/', include(admin.site.urls)), |
36 |
|
|
29 | 37 |
) |
30 | 38 |
|
31 | 39 |
|
Also available in: Unified diff