Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (35 sloc) 1.03 KB
from django.conf.urls.defaults import *
from chiplog import views
js_info_dict = {
'packages': ('chiplog',),
}
urlpatterns = patterns('',
url(r'jsi18n/$',
view='django.views.i18n.javascript_catalog',
kwargs=js_info_dict,
name="jsi18n_link"),
url(r'^$',
view=views.entry_list,
name='chiplog_index'),
url(r'^(?P<object_id>\d+)/$',
view=views.entry_detail,
name='chiplog_detail'),
url(r'^page/(?P<page>\d+)/$',
view=views.entry_list,
name='chiplog_index_paginated'),
url(r'^new/$',
view=views.entry_create,
name='chiplog_create'),
url(r'^edit/(?P<object_id>\d+)/$',
view=views.entry_update,
name='chiplog_update'),
url(r'^delete/(?P<object_id>\d+)/$',
view=views.entry_delete,
name='chiplog_delete'),
url(r'^search/$',
view=views.search,
name='entry_search'),
url(r'^tagged/(?P<tag>\w+)/$',
view=views.tagged_list,
name='chiplog_tagged_list'),
)