Add support for importing bootstrap setups from file
This commit is contained in:
@@ -43,3 +43,9 @@ class BootstrapSetupForm_dump(BootstrapSetupForm):
|
||||
class Meta(BootstrapSetupForm.Meta):
|
||||
model = BootstrapSetup
|
||||
exclude = ('fixture',)
|
||||
|
||||
|
||||
class BootstrapUploadForm(forms.Form):
|
||||
file = forms.FileField(
|
||||
label=_(u'Bootstrap setup file'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user