fix schema form import
This commit is contained in:
parent
734d7aab23
commit
f3a971a656
|
@ -3,3 +3,7 @@ from django import forms
|
||||||
|
|
||||||
class ImportForm(forms.Form):
|
class ImportForm(forms.Form):
|
||||||
file_import = forms.FileField()
|
file_import = forms.FileField()
|
||||||
|
|
||||||
|
|
||||||
|
class SchemaForm(forms.Form):
|
||||||
|
file_template = forms.FileField()
|
||||||
|
|
|
@ -20,7 +20,7 @@ from apiregiter import iota
|
||||||
from idhub_auth.models import User
|
from idhub_auth.models import User
|
||||||
from idhub.mixins import AdminView
|
from idhub.mixins import AdminView
|
||||||
from idhub.email.views import NotifyActivateUserByEmail
|
from idhub.email.views import NotifyActivateUserByEmail
|
||||||
from idhub.admin.forms import ImportForm
|
from idhub.admin.forms import ImportForm, SchemaForm
|
||||||
from idhub.models import (
|
from idhub.models import (
|
||||||
DID,
|
DID,
|
||||||
File_datas,
|
File_datas,
|
||||||
|
|
Loading…
Reference in New Issue