2012-03-23 05:05:48 +04:00
|
|
|
from django.conf.urls.defaults import include, patterns, url
|
2012-03-13 05:08:49 +04:00
|
|
|
|
2012-06-14 22:54:41 +04:00
|
|
|
import addons.views
|
|
|
|
import amo
|
2012-05-16 02:55:13 +04:00
|
|
|
from mkt.ratings.urls import review_patterns
|
2012-06-12 21:29:38 +04:00
|
|
|
from mkt.receipts.urls import purchase_patterns
|
2012-03-13 05:08:49 +04:00
|
|
|
from . import views
|
|
|
|
|
2012-05-16 02:55:13 +04:00
|
|
|
|
2012-03-13 05:08:49 +04:00
|
|
|
urlpatterns = patterns('',
|
2012-03-14 03:33:51 +04:00
|
|
|
url('^$', views.detail, name='detail'),
|
2012-04-17 05:30:04 +04:00
|
|
|
url('^abuse$', views.abuse, name='detail.abuse'),
|
|
|
|
url('^abuse/recaptcha$', views.abuse_recaptcha,
|
|
|
|
name='detail.abuse.recaptcha'),
|
2012-03-20 11:59:05 +04:00
|
|
|
url('^privacy$', views.privacy, name='detail.privacy'),
|
2012-03-14 09:28:40 +04:00
|
|
|
|
2012-03-23 05:05:48 +04:00
|
|
|
('^purchase/', include('mkt.purchase.urls')),
|
2012-06-12 21:29:38 +04:00
|
|
|
('^purchase/', include(purchase_patterns)),
|
2012-03-23 05:05:48 +04:00
|
|
|
|
2012-05-16 02:55:13 +04:00
|
|
|
# Statistics.
|
2012-03-28 12:25:01 +04:00
|
|
|
('^statistics/', include('mkt.stats.urls')),
|
|
|
|
|
2012-05-16 02:55:13 +04:00
|
|
|
# Ratings.
|
|
|
|
('^reviews/', include(review_patterns)),
|
2012-06-22 16:03:22 +04:00
|
|
|
|
|
|
|
url('^activity/', views.app_activity, name='detail.app_activity'),
|
2012-03-14 03:33:51 +04:00
|
|
|
)
|