This commit is contained in:
Chris Van 2012-03-13 22:28:40 -07:00
Родитель 35c213aae3
Коммит 2c9c1e7ca2
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -5,6 +5,8 @@ from . import views
urlpatterns = patterns('',
url('^$', views.detail, name='detail'),
url('^abuse$', addons.views.report_abuse, name='detail.abuse'),
url('^record$', views.record, name='detail.record'),
# TODO: Port abuse.
url('^abuse$', addons.views.report_abuse, name='detail.abuse'),
)

Просмотреть файл

@ -1,7 +1,11 @@
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import include, patterns
from reviews.urls import review_patterns
APP_SLUG = r"""(?P<app_slug>[^/<>"']+)"""
urlpatterns = patterns('',
# TODO: Port reviews and add to `mkt/details`.
('^app/%s/reviews/' % APP_SLUG, include(review_patterns('apps'))),
)