# -*- coding: utf-8 -*- from django.conf.urls import * from django.contrib import admin from django.conf import settings urlpatterns = patterns( '', (r'^auth/', include('helios_auth.urls')), (r'^helios/', include('helios.urls')), # SHOULD BE REPLACED BY APACHE STATIC PATH (r'booth/(?P.*)$', 'django.views.static.serve', {'document_root' : settings.ROOT_PATH + '/heliosbooth'}), (r'verifier/(?P.*)$', 'django.views.static.serve', {'document_root' : settings.ROOT_PATH + '/heliosverifier'}), (r'static/auth/(?P.*)$', 'django.views.static.serve', {'document_root' : settings.ROOT_PATH + '/helios_auth/media'}), (r'static/helios/(?P.*)$', 'django.views.static.serve', {'document_root' : settings.ROOT_PATH + '/helios/media'}), # (r'static/(?P.*)$', 'django.views.static.serve', {'document_root' : settings.ROOT_PATH + '/server_ui/media'}), # (r'^', include('server_ui.urls')), ) urlpatterns += patterns( (r'static/theme/(?P.*)$', 'django.views.static.serve', {'document_root' : settings.ROOT_PATH + '/theme/media'}), (r'^themes/(?P.*)$', 'django.views.static.serve', {'document_root': settings.THEMES_DIR, 'show_indexes': True}), (r'^', include('theme.urls')), (r'^', include('helios_tendenci.urls')), (r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': '/home/louis/frank/tendenci_v1/static/', 'show_indexes': True}), )