Source

djangoimpact / twitterapp / urls.py

Full commit
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *

from twitterapp.views import twitter_list, twitter_message

urlpatterns = patterns('',
    # regexp correspondant à la racine, renvoyant sur la fonction twitter_list
    url(r'^$', twitter_list, name="twitter_list"),
    url(r'^message/(?P<id>\d+)/$', twitter_message, name="twitter_message"),
)