init
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from django.views.generic import TemplateView, FormView
|
||||
from django.http import HttpResponse
|
||||
from django.urls import reverse_lazy
|
||||
|
||||
from ipware import get_client_ip
|
||||
from urllib import parse
|
||||
@@ -23,6 +24,7 @@ class ServiceView(TemplateView):
|
||||
class ContactView(FormView):
|
||||
template_name = 'home/contact.html'
|
||||
form_class = ContactForm
|
||||
success_url = reverse_lazy("home:contact_valid")
|
||||
|
||||
|
||||
class ContactValidView(TemplateView):
|
||||
|
||||
Reference in New Issue
Block a user