Project

General

Profile

Download (832 Bytes) Statistics
| Branch: | Tag: | Revision:

root / corbo / manage_urls.py @ b51a06ed

1
from django.conf.urls import patterns, include, url
2

    
3
from .views import add_announce, edit_announce, delete_announce, \
4
    add_category, edit_category, delete_category, manage
5

    
6
urlpatterns = patterns('',
7
            url(r'^$', manage, name='manage'),
8
            url(r'^announce/add$', add_announce, name='add_announce'),
9
            url(r'^announce/edit/(?P<pk>\d+)$', edit_announce,
10
                name='edit_announce'),
11
            url(r'^announce/delete/(?P<pk>\d+)$', delete_announce,
12
                name='delete_announce'),
13
            url(r'^category/add$', add_category,
14
                name='add_category'),
15
            url(r'^category/edit/(?P<pk>\d+)$', edit_category,
16
                name='edit_category'),
17
            url(r'^category/delete/(?P<pk>\d+)$', delete_category,
18
                name='delete_category'),
19
)
(4-4/11)