~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlscreens/urls.py

  • Committer: franku
  • Date: 2016-07-02 12:38:06 UTC
  • mfrom: (404.2.56 widelands)
  • Revision ID: somal@arcor.de-20160702123806-q69u3d48s1prrxds
merged the django1_8 branch

Show diffs side-by-side

added added

removed removed

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