Revision 0cac144d

b/urls.py
14 14
    url(r'^fod/add/?$', 'flowspy.flowspec.views.add_route', name="add-route"),
15 15
    url(r'^fod/addrl/?$', 'flowspy.flowspec.views.add_rate_limit', name="add-rate-limit"),
16 16
    url(r'^fod/addport/?$', 'flowspy.flowspec.views.add_port', name="add-port"),
17
    url(r'^fod/edit/(?P<route_slug>\w+)/$', 'flowspy.flowspec.views.edit_route', name="edit-route"),
18
    url(r'^fod/delete/(?P<route_slug>\w+)/$', 'flowspy.flowspec.views.delete_route', name="delete-route"),
17
    url(r'^fod/edit/(?P<route_slug>[\w\-]+)/$', 'flowspy.flowspec.views.edit_route', name="edit-route"),
18
    url(r'^fod/delete/(?P<route_slug>[\w\-]+)/$', 'flowspy.flowspec.views.delete_route', name="delete-route"),
19 19
    url(r'^fod/login/?', 'flowspy.flowspec.views.user_login', name="login"),
20 20
    url(r'^fod/welcome/?', 'flowspy.flowspec.views.welcome', name="welcome"),
21 21
    url(r'^fod/logout/?', 'flowspy.flowspec.views.user_logout', name="logout"),
......
33 33
    urlpatterns += patterns('',
34 34
        (r'^fod/static/(?P<path>.*)', 'django.views.static.serve',\
35 35
            {'document_root':  settings.STATIC_URL}),
36
    )
36
    )

Also available in: Unified diff