fix app reviews tests
This commit is contained in:
Родитель
35c213aae3
Коммит
2c9c1e7ca2
|
@ -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'))),
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче