This commit is contained in:
Oliver Walters 2019-05-13 23:03:37 +10:00
parent edc2cc49c2
commit 069cebb669
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ class HelperForm(forms.ModelForm):
class DeleteForm(forms.Form):
""" Generic deletion form which provides simple user confirmation
""" Generic deletion form which provides simple user confirmation
"""
confirm_delete = forms.BooleanField(

View File

@ -12,7 +12,7 @@ from django.template.loader import render_to_string
from django.http import JsonResponse
from django.views import View
from django.views.generic import UpdateView, CreateView, DeleteView
from django.views.generic import UpdateView, CreateView
from django.views.generic.base import TemplateView
from part.models import Part

View File

@ -804,4 +804,4 @@ class SupplierPartDelete(AjaxDeleteView):
success_url = '/supplier/'
ajax_template_name = 'company/partdelete.html'
ajax_form_title = 'Delete Supplier Part'
context_object_name = 'supplier_part'
context_object_name = 'supplier_part'