snipt/snipts/urls.py
2011-10-12 16:34:01 -04:00

10 lines
206 B
Python

from django.conf.urls.defaults import *
from snipts import views
urlpatterns = patterns('',
url(r'^$', views.home, name='home'),
url(r'^(?P<user>[^/]+/)?$', views.list_user, name='list-user'),
)