Offers
This package contains all views related to offers
Offer Form View
- class integreat_compass.cms.views.offers.offer_form_view.OfferFormView(**kwargs)
Bases:
TemplateViewView for the offer form
- dispatch(request, *args, **kwargs)
- get(request, *args, **kwargs)
- Render
ContactForm, LocationForm,OfferForm,OfferVersionFormandOrganizationForm
- Parameters:
request (HttpRequest) – The current request
*args (list) – The supplied arguments
**kwargs (dict) – The supplied keyword arguments
- Raises:
PermissionDenied – If user does not have the permission to edit the specific page
- Returns:
The rendered template response
- Return type:
- Render
- post(request, *args, **kwargs)
- Submit
ContactForm, LocationForm,OfferForm,OfferVersionFormandOrganizationForm
- Parameters:
request (HttpRequest) – The current request
*args (list) – The supplied arguments
**kwargs (dict) – The supplied keyword arguments
- Raises:
PermissionDenied – If user does not have the permission to edit the specific page
- Returns:
The rendered template response
- Return type:
- Submit
- template_name = 'offers/offer_form.html'