1 from django.conf.urls.defaults import *
\r
2 from django.utils.translation import ugettext as _
\r
6 urlpatterns = patterns('',
\r
7 url(r'^%s$' % _('books/'), app.books, name='books'),
\r
8 url(r'^%s%s(?P<short_name>[^/]+)/$' % (_('books/'), _('ask/')), app.ask_book, name='ask_book'),
\r
9 url(r'^%s(?P<short_name>[^/]+)/$' % _('books/'), app.book, name='book'),
\r