Translation fixes/additions
[flowspy] / urls.py.dist
index 51e61be..e180cb9 100644 (file)
@@ -1,4 +1,5 @@
 from django.conf.urls.defaults import *
+from django.views.generic.simple import direct_to_template
 from django.conf import settings
 # Uncomment the next two lines to enable the admin:
 from django.contrib import admin
@@ -18,14 +19,23 @@ urlpatterns = patterns('',
     url(r'^fod/delete/(?P<route_slug>[\w\-]+)/$', 'flowspy.flowspec.views.delete_route', name="delete-route"),
     url(r'^fod/login/?', 'flowspy.flowspec.views.user_login', name="login"),
     url(r'^fod/welcome/?', 'flowspy.flowspec.views.welcome', name="welcome"),
+    url(r'^fod/info/?', 'flowspy.flowspec.views.getinfo', name="getinfo"),
+    url(r'^fod/tos/?', 'flowspy.flowspec.views.gettos', name="gettos"),
     url(r'^fod/logout/?', 'flowspy.flowspec.views.user_logout', name="logout"),
     (r'^fod/setlang/?$', 'django.views.i18n.set_language'),
     # Uncomment the admin/doc line below to enable admin documentation:
     (r'^fod/admin/doc/', include('django.contrib.admindocs.urls')),
     url(r'^fod/load_js/(?P<file>[\w\s\d_-]+)/$', 'flowspy.flowspec.views.load_jscript', name="load-js"), 
 
+    url(r'^fod/accounts/activate/(?P<activation_key>\w+)/$', 'accounts.views.activate', name='activate_account'),
+    url(r'^fod/activate/complete/$',
+                           direct_to_template,
+                           { 'template': 'registration/activation_complete.html' },
+                           name='registration_activation_complete'),
+
     # Uncomment the next line to enable the admin:
     (r'^fod/admin/', include(admin.site.urls)),
+
 )