28 строки
787 B
Python
28 строки
787 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'),
|
|
|
|
('^purchase/', include('mkt.purchase.urls')),
|
|
('^purchase/', include(purchase_patterns)),
|
|
|
|
# Statistics.
|
|
('^statistics/', include('mkt.stats.urls')),
|
|
|
|
# Ratings.
|
|
('^reviews/', include(review_patterns)),
|
|
|
|
url('^activity/', views.app_activity, name='detail.app_activity'),
|
|
)
|