Mercurial > agora-palash
view 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 |
line wrap: on
line source
from django.conf.urls.defaults import * urlpatterns = patterns('agora.apps.profile.views', (r'^editprofile/(?P<user>\w*)/$', 'editprofile'), (r'^(?P<user>\w*)/$', 'showprofile'), )