-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
40 lines (35 loc) · 1.75 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
# from present.models import Project
from django.contrib import admin
admin.autodiscover()
# projects_list_dict = {
# # Retrieve people (organized alphabetically)
# 'queryset': Project.objects.filter(owner=1),
# 'template_name': 'index.html',
# 'template_object_name': 'project',
# }
urlpatterns = patterns('',
# Example:
# (r'^eportfoliodemo/', include('eportfoliodemo.foo.urls')),
# (r'^$', 'django.views.generic.list_detail.object_list', projects_list_dict),
# (r'^$', direct_to_template, { 'template': 'index.html' }),
(r'^app/$', include('eportfoliodemo.home.urls')), # This was the old landing page. Directing it to /app for now
(r'^assets/', include('eportfoliodemo.assets.urls')),
(r'^assetaliases/', include('eportfoliodemo.assetaliases.urls')),
(r'^profiles/', include('eportfoliodemo.profiles.urls')),
(r'^library/', include('eportfoliodemo.library.urls')),
(r'^libraryitems/', include('eportfoliodemo.libraryitems.urls')),
(r'^folders/', include('eportfoliodemo.folders.urls')),
# (r'^evernoteapp/', include('eportfoliodemo.evernoteapp.urls')),
(r'^collectionitems/', include('eportfoliodemo.collectionitems.urls')),
(r'^collections/', include('eportfoliodemo.usercollections.urls')),
(r'^reflect/', include('eportfoliodemo.reflections.urls')),
(r'^reflections/', include('eportfoliodemo.reflections.urls')),
(r'^present/', include('eportfoliodemo.present.urls')),
# (r'^dropbox/', include('eportfoliodemo.dropboxapi.urls')),
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^admin/', include(admin.site.urls)),
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
(r'^accounts/logout/$', 'django.contrib.auth.views.logout')
)