dynamicweb/nosystemd/views.py

13 lines
326 B
Python
Raw Normal View History

from django.shortcuts import render
from django.views.generic import TemplateView, FormView
from .forms import LoginForm
# Create your views here.
class LandingView(TemplateView):
template_name = "nosystemd/landing.html"
class LoginView(FormView):
template_name = "nosystemd/login.html"
form_class = LoginForm