update
This commit is contained in:
parent
f777cea2bb
commit
dbf4c6f91d
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -79,6 +79,8 @@ from django.urls import reverse, reverse_lazy
|
|||||||
from django.contrib import messages
|
from django.contrib import messages
|
||||||
from django.db.models import Sum, F, Count
|
from django.db.models import Sum, F, Count
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
|
from twilio.rest.verify.v2 import form
|
||||||
|
|
||||||
from .forms import VendorForm
|
from .forms import VendorForm
|
||||||
from .services import (
|
from .services import (
|
||||||
decodevin,
|
decodevin,
|
||||||
@ -1368,7 +1370,13 @@ def CustomerUpdateView(request, pk):
|
|||||||
if "customer_info" in customer.additional_info
|
if "customer_info" in customer.additional_info
|
||||||
else {}
|
else {}
|
||||||
)
|
)
|
||||||
|
# form = CustomerModelForm
|
||||||
return render(request, "customers/customer_form.html", {"form": form})
|
return render(request, "customers/customer_form.html", {"form": form})
|
||||||
|
# class CustomerUpdateView(UpdateView, LoginRequiredMixin, PermissionRequiredMixin):
|
||||||
|
# model = CustomerModel
|
||||||
|
# form_class = forms.CustomerForm
|
||||||
|
# template_name = "customers/customer_form.html"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user