| author | ymh <ymh.work@gmail.com> |
| Fri, 08 Jul 2011 12:03:07 +0200 | |
| changeset 72 | ba8ebabbaece |
| parent 63 | 03698c739b1d |
| child 73 | 83695a58e4d6 |
| permissions | -rw-r--r-- |
| 0 | 1 |
from django.conf.urls.defaults import patterns, include, url |
2 |
from django.contrib import admin |
|
| 53 | 3 |
from django.contrib.auth import urls as auth_url |
4 |
||
| 0 | 5 |
|
6 |
# Uncomment the next two lines to enable the admin: |
|
7 |
admin.autodiscover() |
|
8 |
||
9 |
urlpatterns = patterns('', |
|
10 |
# Examples: |
|
11 |
# url(r'^$', 'hdabo.views.home', name='home'), |
|
12 |
# url(r'^hdabo/', include('hdabo.foo.urls')), |
|
13 |
||
14 |
# Uncomment the admin/doc line below to enable admin documentation: |
|
15 |
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
16 |
||
17 |
# Uncomment the next line to enable the admin: |
|
| 53 | 18 |
url(r'^accounts/', include(auth_url)), |
19 |
url(r'^logout/', 'django.contrib.auth.views.logout_then_login'), |
|
| 21 | 20 |
url(r'^admin/', include(admin.site.urls)), |
21 |
url(r'^search/', include('haystack.urls')), |
|
|
7
b5204be88f8e
First views for home and sheet display, and navigation in sheet groups by location.
cavaliet
parents:
0
diff
changeset
|
22 |
url(r'^$', 'hdabo.views.home', name='home'), |
|
34
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
23 |
url(r'^list/(?P<orga_id>[\w-]+)$', 'hdabo.views.list_for_orga', name='list_for_orga'), |
|
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
24 |
url(r'^list/(?P<orga_id>[\w-]+)/(?P<valid>[\w-]+)/$', 'hdabo.views.list_for_orga', name='list_for_orga'), |
|
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
25 |
url(r'^list/(?P<orga_id>[\w-]+)/(?P<valid>[\w-]+)/(?P<start_index>[\w-]+)/$', 'hdabo.views.list_for_orga', name='list_for_orga'), |
|
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
26 |
url(r'^list/(?P<orga_id>[\w-]+)/(?P<valid>[\w-]+)/(?P<start_index>[\w-]+)/(?P<length>[\w-]+)/$', 'hdabo.views.list_for_orga', name='list_for_orga'), |
|
63
03698c739b1d
#8 : Better url management with datasheet id and context in parameter.
cavaliet
parents:
53
diff
changeset
|
27 |
url(r'^data$', 'hdabo.views.display_datasheet', name='display_datasheet'), |
|
03698c739b1d
#8 : Better url management with datasheet id and context in parameter.
cavaliet
parents:
53
diff
changeset
|
28 |
url(r'^data/(?P<ds_id>[\w-]+)$', 'hdabo.views.display_datasheet', name='display_datasheet'), |
| 24 | 29 |
url(r'^tagupdown$', 'hdabo.views.tag_up_down'), |
30 |
url(r'^removetagfromlist$', 'hdabo.views.remove_tag_from_list'), |
|
31 |
url(r'^modifytag$', 'hdabo.views.modify_tag'), |
|
|
42
861a78f74a37
modify behavior for tag modification on the datasheet
ymh <ymh.work@gmail.com>
parents:
36
diff
changeset
|
32 |
url(r'^modifytagds$', 'hdabo.views.modify_tag_datasheet'), |
|
25
e5f8cb1020c8
add command to reset wikipedia info on a tag
ymh <ymh.work@gmail.com>
parents:
24
diff
changeset
|
33 |
url(r'^resetwpinfo$', 'hdabo.views.reset_wikipedia_info'), |
|
26
699957597026
Add tag feature finished. Full page templates good placed.
cavaliet
parents:
24
diff
changeset
|
34 |
url(r'^addtag$', 'hdabo.views.add_tag'), |
|
31
142d0440c9aa
Remove wp link button activated. Some js function gathered.
cavaliet
parents:
27
diff
changeset
|
35 |
url(r'^removewplink$', 'hdabo.views.remove_wp_link'), |
|
32
ffd77b2b939f
First step of tag list. Enhance js function for datasheet context or tag list context.
cavaliet
parents:
31
diff
changeset
|
36 |
url(r'^alltags$', 'hdabo.views.all_tags'), |
|
ffd77b2b939f
First step of tag list. Enhance js function for datasheet context or tag list context.
cavaliet
parents:
31
diff
changeset
|
37 |
url(r'^alltags/(?P<num_page>[\w-]+)$', 'hdabo.views.all_tags'), |
|
ffd77b2b939f
First step of tag list. Enhance js function for datasheet context or tag list context.
cavaliet
parents:
31
diff
changeset
|
38 |
url(r'^alltags/(?P<num_page>[\w-]+)/(?P<nb_by_page>[\w-]+)/$', 'hdabo.views.all_tags'), |
| 51 | 39 |
url(r'^alltags/(?P<num_page>[\w-]+)/(?P<nb_by_page>[\w-]+)/(?P<searched>.+)/$', 'hdabo.views.all_tags'), |
|
34
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
40 |
url(r'^validatedatasheet$', 'hdabo.views.validate_datasheet'), |
|
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
41 |
url(r'^validatedatasheet/(?P<ds_id>[\w-]+)$', 'hdabo.views.validate_datasheet'), |
|
26368d096723
Datasheet validation, better repartition of js function, hand cursor on buttons.
cavaliet
parents:
32
diff
changeset
|
42 |
url(r'^validatedatasheet/(?P<ds_id>[\w-]+)/(?P<valid>[\w-]+)/$', 'hdabo.views.validate_datasheet'), |
| 36 | 43 |
url(r'^updatetagalias$', 'hdabo.views.update_tag_alias'), |
|
44
244d805b4921
Reorder taggedsheet by drag and drop. Remove wikipedia_activated for a tag. TagCategory chosen by closed list.
cavaliet
parents:
43
diff
changeset
|
44 |
url(r'^updatetagcategory$', 'hdabo.views.update_tag_category'), |
| 72 | 45 |
url(r'^ordertagsdatasheet$', 'hdabo.views.reorder_tag_datasheet'), |
| 0 | 46 |
) |