~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlmaps/urls.py

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
from views import *
6
6
 
7
7
urlpatterns = [
8
 
        url(r'^$', index, name='wlmaps_index'),
9
 
        url(r'^upload/$', upload, name='wlmaps_upload'),
10
 
 
11
 
        url(r'^(?P<map_slug>[-\w]+)/$',
12
 
            view, name='wlmaps_view'),
13
 
        url(r'^(?P<map_slug>[-\w]+)/edit_comment/$',
14
 
            edit_comment, name='wlmaps_edit_comment'),
15
 
        url(r'^(?P<map_slug>[-\w]+)/download/$',
16
 
            download, name='wlmaps_download'),
17
 
 
18
 
        url(r'^(?P<map_slug>[-\w]+)/rate/$',
19
 
            rate, name='wlmaps_rate'),
 
8
    url(r'^$', index, name='wlmaps_index'),
 
9
    url(r'^upload/$', upload, name='wlmaps_upload'),
 
10
 
 
11
    url(r'^(?P<map_slug>[-\w]+)/$',
 
12
        view, name='wlmaps_view'),
 
13
    url(r'^(?P<map_slug>[-\w]+)/edit_comment/$',
 
14
        edit_comment, name='wlmaps_edit_comment'),
 
15
    url(r'^(?P<map_slug>[-\w]+)/download/$',
 
16
        download, name='wlmaps_download'),
 
17
 
 
18
    url(r'^(?P<map_slug>[-\w]+)/rate/$',
 
19
        rate, name='wlmaps_rate'),
20
20
]