<filename>HelloWorld/Python01/Core Python Applications Programming 3rd/ch11/myproject/poster/urls.py
from django.conf.urls.defaults import *

urlpatterns = patterns('myproject.poster.views',
    (r'^$', 'post_tweet'),
    (r'^thankyou', 'thank_you'),
    (r'^edit/(?P<tweet_id>\d+)', 'post_tweet'),
)

<filename>HelloWorld/Python01/Core Python Applications Programming 3rd/ch11/myproject/poster/urls.py
from django.conf.urls.defaults import *

urlpatterns = patterns('myproject.poster.views',
    (r'^$', 'post_tweet'),
    (r'^thankyou', 'thank_you'),
    (r'^edit/(?P<tweet_id>\d+)', 'post_tweet'),
)
