~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlprofile/urls.py

  • Committer: Holger Rapp
  • Date: 2009-03-15 16:40:37 UTC
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: sirver@kallisto.local-20090315164037-6sbx3vlo089d46e8
Added support for profiles. No gravatar yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python -tt
 
2
# encoding: utf-8
 
3
#
 
4
# File: wlprofile/urls.py
 
5
#
 
6
# Created by Holger Rapp on 2009-03-15.
 
7
# Copyright (c) 2009 HolgerRapp@gmx.net. All rights reserved.
 
8
#
 
9
# Last Modified: $Date$
 
10
#
 
11
 
 
12
from django.conf.urls.defaults import *
 
13
import views
 
14
 
 
15
urlpatterns = patterns('',
 
16
   url(r'^edit/$', views.edit, name='profile_edit'),
 
17
   url(r'^(?P<user>.*)/$', views.view, name='profile_view'),
 
18
   url(r'^$', views.view, name='profile_view'),
 
19
)
 
20