<reponame>tuvrai/votechain
from django.urls import path, register_converter
from . import views
from django.shortcuts import redirect

app_name = 'main_app'

urlpatterns = [
    path('', lambda request: redirect('voting/')),
    path('voting/',
         views.voting,
         name='voting'),
]

from django.urls import path, register_converter
from . import views
from django.shortcuts import redirect

app_name = 'main_app'

urlpatterns = [
    path('', lambda request: redirect('voting/')),
    path('voting/',
         views.voting,
         name='voting'),
]