Deleted extraneous form code

This commit is contained in:
Oliver committed 2018-04-30 00:59:36 +10:00
1 parent 39530831d8
commit bee760d184
6 files changed
+66 -95

No files matched your search

+2 -9
View File
@@ -1,19 +1,12 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import forms
from crispy_forms.helper import FormHelper
from InvenTree.forms import HelperForm
from .models import Build
class EditBuildForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super(EditBuildForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
self.helper.form_tag = False
class EditBuildForm(HelperForm):
class Meta:
model = Build