2014-12-23 08:29:58 +00:00
|
|
|
from django.conf.urls import patterns, url
|
2015-01-05 15:12:33 +00:00
|
|
|
from django.views.decorators.cache import cache_page
|
|
|
|
from django_js_reverse.views import urls_js
|
2014-12-23 08:29:58 +00:00
|
|
|
|
2014-12-23 08:56:04 +00:00
|
|
|
from . import views
|
|
|
|
|
2014-12-23 08:29:58 +00:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2015-01-05 15:12:33 +00:00
|
|
|
url(r'^reverse.js$', cache_page(3600)(urls_js), name = 'js_reverse'),
|
2014-12-23 08:56:04 +00:00
|
|
|
url(r'^duck/(?P<duck_id>\d+)/competence.json$', views.duck_comp_list)
|
2014-12-23 08:29:58 +00:00
|
|
|
)
|