So my forms.py
class ContactForm(forms.Form):views.py
class TourDetailView(DetailView):As far as i understand i need to get data from request , but i dont know how to do it. There are a lot of information in function based views, but i didnt get how to do it in class based views.
And it would be nice of you to explain where should i put send_mail function. Any help will be appreciated.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/235da153-a9d7-2582-ace4-3dbf147d17f8%40fattuba.com.