Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Collections' Work admin requires adminsortable2 app
Browse files Browse the repository at this point in the history
Include the `adminsortable2` third-party app in
those installed for Collections because it is used
by various WorkCreator inlines, which will raise
500 `ValidationError` errors on form submit if
this app is missing and its required templates
therefore cannot be found.

NOTE: Given the comment below found in the
`work_creator.admin` module, we should probably
ditch this third-party requirement altogether:

    # Some super-weirdness means that this inline doesn't appear on
    # docker-cloud staging if SortableInlineAdminMixin is enabled.
    # Giving up for now. TODO: reinstate, or choose a different sorting ui lib
    # SortableInlineAdminMixin,
  • Loading branch information
jmurty committed Oct 5, 2017
1 parent 0f9bfbd commit 4e64298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions icekit/project/settings/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@
# collections. Other types of museum may need to disable this.
'glamkit_collections.contrib.work_creator',
'glamkit_collections.contrib.work_creator.plugins.links',
'adminsortable2', # Required by work_creator.admin

# Sponsors
'glamkit_sponsors',
Expand Down

0 comments on commit 4e64298

Please sign in to comment.