~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlmaps/urls.py

  • Committer: Holger Rapp
  • Date: 2009-04-04 14:32:27 UTC
  • Revision ID: sirver@kallisto.local-20090404143227-mf49s08keq3nv08c
Initital (unusable) version of wlmaps application

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python -tt
 
2
# encoding: utf-8
 
3
from django.conf.urls.defaults import *
 
4
from models import Map
 
5
from views import *
 
6
 
 
7
urlpatterns = patterns('',
 
8
    url(r'^$', index ),
 
9
    url(r'^upload/$', upload, name = "wlmaps_upload" ),
 
10
    
 
11
    url(r'^(?P<map_slug>[-\w]+)/$', view, name = "wlmaps_view" ),
 
12
)
 
13