Skip to content
Snippets Groups Projects
Select Git revision
  • 223a12964b1ac85aa2c0bf7c6b678a258c24e627
  • test default protected
  • master protected
  • feat/custom-css
  • feat/redesign-improvements-10
  • feat/redesign-improvements-8
  • feat/redesign-fixes-3
  • feat/pirstan-changes
  • feat/separate-import-thread
  • feat/dary-improvements
  • features/add-pdf-page
  • features/add-typed-table
  • features/fix-broken-calendar-categories
  • features/add-embed-to-articles
  • features/create-mastodon-feed-block
  • features/add-custom-numbering-for-candidates
  • features/add-timeline
  • features/create-wordcloud-from-article-page
  • features/create-collapsible-extra-legal-info
  • features/extend-hero-banner
  • features/add-link-to-images
21 results

0015_uniwebformfield_uniwebformpage.py

Blame
  • urls.py 1.02 KiB
    # -*- coding: utf-8 -*-
    from django.conf.urls.defaults import *
    
    from django.conf import settings
    
    from views import *
    
    urlpatterns = None
    
    urlpatterns = patterns('',
      (r'^$', home),
      (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),
    
      # 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/(?P<election_uuid>[^/]+)', include('helios.election_urls')),
      
    )