2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Deleted extraneous form code

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

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