# Path: crumpet/backtests/views.py
# class BacktestingView(FormView):
# class LiveTestView(FormView):
#     def form_valid(self, form):
#     def form_valid(self, form):


from django.conf.urls import url
from django.contrib.auth.decorators import login_required
from crumpet.backtests import views


urlpatterns = [
    url(
        r"^$",
        login_required(views.BacktestingView.as_view(
            template_name="backtests/backtesting.html"
        )),
        name="backtesting"
    ),
    url(
        r"^live/$",

# Path: crumpet/backtests/views.py
# class BacktestingView(FormView):
# class LiveTestView(FormView):
#     def form_valid(self, form):
#     def form_valid(self, form):


# Path: crumpet/backtests/urls.py
from django.conf.urls import url
from django.contrib.auth.decorators import login_required
from crumpet.backtests import views



urlpatterns = [
    url(
        r"^$",
        login_required(views.BacktestingView.as_view(
            template_name="backtests/backtesting.html"
        )),
        name="backtesting"
    ),
    url(
        r"^live/$",

        login_required(views.LiveTestView.as_view(