Skip to content
Snippets Groups Projects
Select Git revision
  • 3f12431d04bf5b082557bd76f84558f8e260024b
  • test default protected
  • master protected
  • original
  • pirati-backup protected
  • beta-2
  • beta-1
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.16
  • v3.0.15
  • v3.0.14
  • v3.0.13
  • v3.0.12
  • v3.0.11
  • v3.0.10
  • v3.0.9
  • v3.0.8
  • v3.0.7
  • v3.0.6
  • v3.0.5
  • v3.0.4
25 results

urls.py

Blame
  • urls.py 860 B
    # -*- coding: utf-8 -*-
    from django.conf import settings
    from django.conf.urls import url, include
    from django.views.static import serve
    
    urlpatterns = [
        url(r'^auth/', include('helios_auth.urls')),
        url(r'^helios/', include('helios.urls')),
    
        # SHOULD BE REPLACED BY APACHE STATIC PATH
        url(r'booth/(?P<path>.*)$', serve, {'document_root' : settings.ROOT_PATH + '/heliosbooth'}),
        url(r'verifier/(?P<path>.*)$', serve, {'document_root' : settings.ROOT_PATH + '/heliosverifier'}),
    
        url(r'static/auth/(?P<path>.*)$', serve, {'document_root' : settings.ROOT_PATH + '/helios_auth/media'}),
        url(r'static/helios/(?P<path>.*)$', serve, {'document_root' : settings.ROOT_PATH + '/helios/media'}),
        url(r'static/(?P<path>.*)$', serve, {'document_root' : settings.ROOT_PATH + '/server_ui/media'}),
    
        url(r'^', include('server_ui.urls')),
    ]