| author | ymh <ymh.work@gmail.com> |
| Wed, 18 May 2011 19:16:36 +0200 | |
| changeset 107 | 4ab1136e388d |
| parent 68 | b40657713336 |
| permissions | -rw-r--r-- |
|
68
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
1 |
from django.conf.urls.defaults import patterns, include |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
2 |
from django.contrib import admin |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
3 |
from ldt.text import VERSION_STR |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
4 |
|
| 0 | 5 |
|
6 |
# Uncomment the next two lines to enable the admin: |
|
7 |
admin.autodiscover() |
|
8 |
||
9 |
||
10 |
urlpatterns = patterns('', |
|
11 |
# Example: |
|
12 |
# (r'^blinkster/', include('blinkster.foo.urls')), |
|
13 |
||
14 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
15 |
# to INSTALLED_APPS to enable admin documentation: |
|
16 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
|
68
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
17 |
(r'^ldt/', include('ldt.ldt_utils.urls')), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
18 |
(r'^user/', include('ldt.user.urls')), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
19 |
(r'^api/', include('ldt.api.urls')), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
20 |
(r'^api/' + VERSION_STR + '/text/', include('ldt.text.urls')), |
| 0 | 21 |
|
|
68
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
22 |
(r'^accounts/', include('registration.backends.simple.urls')), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
23 |
(r'^oauth/', include('oauth_provider.urls')), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
24 |
|
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
25 |
# (r'^admin/import/form$', 'blinkster.ldt.views.importFile'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
26 |
# (r'^admin/import/upload/$', 'blinkster.ldt.views.uploadFile'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
27 |
# (r'^admin/export/form$', 'blinkster.ldt.views.exportForm'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
28 |
# (r'^admin/export/ldt/$', 'blinkster.ldt.views.downloadLdt'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
29 |
# (r'^admin/reindex/$', 'blinkster.ldt.views.reindex'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
30 |
# (r'^admin/import/projectForm$', 'blinkster.ldt.views.importProjectFile'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
31 |
# (r'^admin/import/uploadProject/$', 'blinkster.ldt.views.uploadProjectFile'), |
| 0 | 32 |
# Uncomment the next line to enable the admin: |
|
68
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
33 |
(r'^admin/', include(admin.site.urls)), |
| 0 | 34 |
|
35 |
||
36 |
#(r'^.*(?P<content>flvplayer|mp3player|ClearExternalAllBlue)\.swf$','django.views.generic.simple.redirect_to', {'url':blinkster.settings.BASE_URL+'/static/swf/ldt/pkg/%(content)s.swf'}), |
|
| 11 | 37 |
(r'^roi/list/$', 'blinkster.views.roi_list'), |
| 13 | 38 |
(r'^poi/list/(?P<roi_sid>.*)/$', 'blinkster.views.poi_list'), |
|
107
4ab1136e388d
add permalink + correct urls + encoding + maj config
ymh <ymh.work@gmail.com>
parents:
68
diff
changeset
|
39 |
(r'^blinkster/segment/detail/(?P<project_id>.*)/(?P<iri_id>.*)/(?P<ensemble_id>.*)/(?P<cutting_id>.*)/(?P<element_id>.*)/$', 'blinkster.views.segment_detail'), |
|
4ab1136e388d
add permalink + correct urls + encoding + maj config
ymh <ymh.work@gmail.com>
parents:
68
diff
changeset
|
40 |
(r'^blinkster/segment/playlist/(?P<project_id>.*)/(?P<iri_id>.*)/(?P<ensemble_id>.*)/(?P<cutting_id>.*)/(?P<element_id>.*)/$', 'blinkster.views.segment_ts_playlist'), |
|
68
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
41 |
(r'^blinkster/segment/search/$', 'blinkster.views.segment_search_post'), |
|
b40657713336
use platform and clean install files
ymh <ymh.work@gmail.com>
parents:
35
diff
changeset
|
42 |
(r'^blinkster/segment/search/(?P<field>tags|title|abstract|all)/(?P<operator>or|and)/(?P<query>.*)/$', 'blinkster.views.segment_search_get'), |
| 5 | 43 |
(r'^photologue/', include('photologue.urls')), |
| 0 | 44 |
|
45 |
) |