Skip to content
Snippets Groups Projects
Select Git revision
  • 26fbc88c1038971e3c4fb48f40eb09ff15816099
  • master default protected
2 results

PostFilters.jsx

Blame
  • Forked from TO / cf-online-ui
    Source project has a limited visibility.
    urls.py 1.14 KiB
    # -*- coding: utf-8 -*-
    from django.conf.urls import *
    
    from django.conf import settings
    
    from views import *
    
    urlpatterns = None
    
    urlpatterns = patterns('',
      (r'^autologin$', admin_autologin),
      (r'^testcookie$', test_cookie),
      (r'^testcookie_2$', test_cookie_2),
      (r'^nocookies$', nocookies),
      (r'^stats/', include('helios.stats_urls')),
      (r'^socialbuttons$', socialbuttons),
    
      # election shortcut by shortname
      (r'^e/(?P<election_short_name>[^/]+)$', election_shortcut),
      (r'^e/(?P<election_short_name>[^/]+)/vote$', election_vote_shortcut),
    
      # vote shortcut
      (r'^v/(?P<vote_tinyhash>[^/]+)$', castvote_shortcut),
      
      # trustee login
      (r'^t/(?P<election_short_name>[^/]+)/(?P<trustee_email>[^/]+)/(?P<trustee_secret>[^/]+)$', trustee_login),
      
      # election
      (r'^elections/params$', election_params),
      (r'^elections/verifier$', election_verifier),
      (r'^elections/single_ballot_verifier$', election_single_ballot_verifier),
      (r'^elections/new$', election_new),
      (r'^elections/administered$', elections_administered),
      (r'^elections/voted$', elections_voted),
      
      (r'^elections/(?P<election_uuid>[^/]+)', include('helios.election_urls')),
      
    )