from pyramid.view import view_config
+import pgwui_core.forms
import pgwui_core.utils
from pgwui_core.core import (
UploadEngine,
NoTransactionEngine,
- UserInitialPost,
- UserWTForm,
- CredsLoadedForm,
SessionDBHandler,
LogSQLCommand,
SQLData,
@attr.s
-class CopySchemaInitialPost(UserInitialPost):
+class CopySchemaInitialPost(pgwui_core.forms.UserInitialPost):
'''Get values from settings when there's not user-supplied values
in POST
'''
return self
-class CopySchemaWTForm(UserWTForm):
+class CopySchemaWTForm(pgwui_core.forms.UserWTForm):
'''The wtform used to connect to the "gombemi" db to authenticate .'''
# We don't actually use the labels, wanting the template to
# look (and render) like html, but I'll define them anyway
@attr.s
-class CopySchemaForm(CredsLoadedForm):
+class CopySchemaForm(pgwui_core.forms.CredsLoadedForm):
'''
Acts like a dict, but with extra methods.