~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlscreens/urls.py

  • Committer: Holger Rapp
  • Date: 2009-04-11 15:21:15 UTC
  • Revision ID: rapp@mrt.uka.de-20090411152115-qpbnxxze99td19bz
Added a first version of a screenshot 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 Category, Screenshot
 
5
from views import *
 
6
 
 
7
urlpatterns = patterns('',
 
8
    url(r'^$', index, name="wlscreens_index" ),
 
9
    url(r'^(?P<category_slug>[-\w]+)/$', category, name = "wlscreens_category" ),
 
10
)
 
11