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-03-14 04:38:16 +04:00
|
|
|
import addons.views
|
2012-03-13 05:08:49 +04:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2012-03-14 03:33:51 +04:00
|
|
|
url('^$', views.detail, name='detail'),
|
|
|
|
url('^record$', views.record, name='detail.record'),
|
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
|
|
|
# Submission.
|
|
|
|
('^purchase/', include('mkt.purchase.urls')),
|
|
|
|
|
2012-03-14 09:28:40 +04:00
|
|
|
# TODO: Port abuse.
|
|
|
|
url('^abuse$', addons.views.report_abuse, name='detail.abuse'),
|
2012-03-14 03:33:51 +04:00
|
|
|
)
|