Mercurial > agora
comparison apps/profile/urls.py @ 55:d48e8676b18f
Show snippets by user in their profile, and show 10 latest snippets on the add snippet page
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Mon, 07 Feb 2011 11:59:52 -0600 |
parents | bc0137b6c264 |
children | d416b8198889 |
comparison
equal
deleted
inserted
replaced
54:898881bbfdea | 55:d48e8676b18f |
---|---|
1 from django.conf.urls.defaults import * | 1 from django.conf.urls.defaults import * |
2 | 2 |
3 urlpatterns = patterns('agora.apps.profile.views', | 3 urlpatterns = patterns('agora.apps.profile.views', |
4 (r'^editprofile/(?P<user>\w*)/$', 'editprofile'), | 4 (r'^editprofile/(?P<user>\w*)/$', 'editprofile'), |
5 (r'^(?P<user>\w*)/$', 'showprofile'), | 5 (r'^(?P<user>\w*)/$', 'showprofile'), |
6 ) | 6 ) |