# Path: election/views.py
# def search_endorsers(request):
# def get_endorsers(filter_params, sort_params, skip=0):
# def get_tags(request):
# def get_endorsements(request):
# def browse(request):
# def add_endorser(request):
# def view_endorser(request, pk):
# def add_account(request, pk):
# def add_endorsement(request, pk):
# def random_endorser(request):
# def stats_tags(request):
# def charts(request):
# def progress_wikipedia(request):
# def progress_wikipedia_missing(request, slug):
# def progress_wikipedia_list(request, slug, mode):
# def confirm_endorsement(request, pk):
# def confirm_endorsements(request):
# def confirm_newspapers(request):
# def confirm_newspaper(request, pk):
# def stats_states(request):
# def progress_tagging(request):
# def progress_twitter(request):
# def stats_predictions(request):
# CATEGORY_NAMES = {
#     'Gender': True,
#     'Race/ethnicity': True,
#     'Organizations': False,
# }
# SLUG_MAPPING = {
#     'List_of_Gary_Johnson_presidential_campaign_endorsements,_2016': 'johnson',
#     'List_of_Jill_Stein_presidential_campaign_endorsements,_2016': 'stein',
#     'List_of_Evan_McMullin_presidential_campaign_endorsements,_2016': 'mcmullin',
#     'List_of_Donald_Trump_presidential_campaign_endorsements,_2016': 'trump',
#     'List_of_Hillary_Clinton_presidential_campaign_endorsements,_2016': 'clinton',
# }
#     IGNORED_SECTIONS = 'Endorsements > International political figures'
#     ENDORSER_TYPES = {
#         'clinton': Position.objects.get(slug='clinton'),
#         'trump': Position.objects.get(slug='trump'),
#         'pence': Position.objects.get(slug='pence'),
#         'another-republican': Position.objects.get(slug='another-republican'),
#         'trump-support': Position.objects.get(slug='trump-support'),
#         'senate': Tag.objects.get(name='Current Senator'),
#         'house': Tag.objects.get(name='Current U.S. Representative'),
#         'republican': Tag.objects.get(name='Republican Party'),
#         'democrat': Tag.objects.get(name='Democratic Party'),
#         'newspaper': Tag.objects.get(name='Publication')
#     }


from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from election import views
    import debug_toolbar
"""election URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""



urlpatterns = [

# Path: election/views.py
# def search_endorsers(request):
# def get_endorsers(filter_params, sort_params, skip=0):
# def get_tags(request):
# def get_endorsements(request):
# def browse(request):
# def add_endorser(request):
# def view_endorser(request, pk):
# def add_account(request, pk):
# def add_endorsement(request, pk):
# def random_endorser(request):
# def stats_tags(request):
# def charts(request):
# def progress_wikipedia(request):
# def progress_wikipedia_missing(request, slug):
# def progress_wikipedia_list(request, slug, mode):
# def confirm_endorsement(request, pk):
# def confirm_endorsements(request):
# def confirm_newspapers(request):
# def confirm_newspaper(request, pk):
# def stats_states(request):
# def progress_tagging(request):
# def progress_twitter(request):
# def stats_predictions(request):
# CATEGORY_NAMES = {
#     'Gender': True,
#     'Race/ethnicity': True,
#     'Organizations': False,
# }
# SLUG_MAPPING = {
#     'List_of_Gary_Johnson_presidential_campaign_endorsements,_2016': 'johnson',
#     'List_of_Jill_Stein_presidential_campaign_endorsements,_2016': 'stein',
#     'List_of_Evan_McMullin_presidential_campaign_endorsements,_2016': 'mcmullin',
#     'List_of_Donald_Trump_presidential_campaign_endorsements,_2016': 'trump',
#     'List_of_Hillary_Clinton_presidential_campaign_endorsements,_2016': 'clinton',
# }
#     IGNORED_SECTIONS = 'Endorsements > International political figures'
#     ENDORSER_TYPES = {
#         'clinton': Position.objects.get(slug='clinton'),
#         'trump': Position.objects.get(slug='trump'),
#         'pence': Position.objects.get(slug='pence'),
#         'another-republican': Position.objects.get(slug='another-republican'),
#         'trump-support': Position.objects.get(slug='trump-support'),
#         'senate': Tag.objects.get(name='Current Senator'),
#         'house': Tag.objects.get(name='Current U.S. Representative'),
#         'republican': Tag.objects.get(name='Republican Party'),
#         'democrat': Tag.objects.get(name='Democratic Party'),
#         'newspaper': Tag.objects.get(name='Publication')
#     }


# Path: election/urls.py
from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from election import views
    import debug_toolbar

"""election URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""



urlpatterns = [

    url(r'^$', views.browse, name='browse'),