Added login.html, Added login view , Added login form,Created Donation Django Model
This commit is contained in:
parent
d7f7d498f5
commit
da9169c4ce
72 changed files with 30815 additions and 0 deletions
13
nosystemd/views.py
Normal file
13
nosystemd/views.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue