addons-server/mkt/detail/urls.py

26 строки
715 B
Python
Исходник Обычный вид История

from django.conf.urls.defaults import include, patterns, url
import addons.views
import amo
from mkt.ratings.urls import review_patterns
from mkt.receipts.urls import purchase_patterns
from . import views
urlpatterns = patterns('',
url('^$', views.detail, name='detail'),
url('^abuse$', views.abuse, name='detail.abuse'),
url('^abuse/recaptcha$', views.abuse_recaptcha,
name='detail.abuse.recaptcha'),
url('^privacy$', views.privacy, name='detail.privacy'),
2012-03-14 09:28:40 +04:00
('^purchase/', include('mkt.purchase.urls')),
('^purchase/', include(purchase_patterns)),
# Statistics.
2012-03-28 12:25:01 +04:00
('^statistics/', include('mkt.stats.urls')),
# Ratings.
('^reviews/', include(review_patterns)),
)