initial rcr platform commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
|
||||
from django import forms
|
||||
from django.contrib.admin import widgets
|
||||
from django.forms import (
|
||||
BaseInlineFormSet,
|
||||
Form,
|
||||
HiddenInput,
|
||||
ModelForm,
|
||||
ModelMultipleChoiceField,
|
||||
ModelChoiceField,
|
||||
ChoiceField,
|
||||
CharField,
|
||||
ValidationError,
|
||||
modelformset_factory,
|
||||
CheckboxSelectMultiple
|
||||
)
|
||||
|
||||
from rcr.models import Item, Category, Level
|
||||
|
||||
class ItemForm(ModelForm):
|
||||
class Meta:
|
||||
model = Item
|
||||
exclude = ["rcr_platform_id", "name"]
|
||||
#fields = ["category", "level"]
|
||||
Reference in New Issue
Block a user