Source

beerfingers / bf / mobile / urls.py

Full commit
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template


urlpatterns = patterns('mobile.views',
    (r'^login/$', 'mobile_login'),
    (r'^myratings/(?P<id>[-\w]+)/$', 'mobile_ratingdetail'),
    (r'^myratings/$', 'mobile_myratings'),
    (r'^rate/(?P<brewery_slug>[-\w]+)/(?P<beer_slug>[-\w]+)/$', 'mobile_rate'),
    (r'^search/$', 'mobile_search'),
    (r'^beer/$', 'mobile_beer'),
    (r'^beer/add/(?P<brewery_slug>[-\w]+)/$', 'add_beer'),
    (r'^brewery/$', 'mobile_brewery'),
    (r'^$', 'mobile_index'),
)