You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic for importing records into a GridField in a ModelAdmin is half controlled by the gridfield and half controlled by the admin.
It should all be managed in the gridfield, so we can reuse it easily in other admin sections.
ImportForm() is moved out of ModelAdmin and handled by the relevant gridfield component instead.
The importer object is accessible either via the DataObject class, or passed into the component with a setter method, or both (whichever makes most sense to the person implementing - give a brief explanation of why you went with what you did)
Provide a way to update/replace the form at a per-gridfield level (see SecurityAdmin)
import() should be moved along with it
The text was updated successfully, but these errors were encountered:
The logic for importing records into a
GridField
in aModelAdmin
is half controlled by the gridfield and half controlled by the admin.It should all be managed in the gridfield, so we can reuse it easily in other admin sections.
Related
Acceptance criteria
ImportForm()
is moved out ofModelAdmin
and handled by the relevant gridfield component instead.DataObject
class, or passed into the component with a setter method, or both (whichever makes most sense to the person implementing - give a brief explanation of why you went with what you did)SecurityAdmin
)import()
should be moved along with itThe text was updated successfully, but these errors were encountered: