-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(apis_entities): use mergeform templatetag
The new mergeform templatetag allows us to simply include the merge form in the abstractentity_form.html template using the templatetag. This means we don't have to override the view anymore and we can therefore drop the custom EntitiesUpdate view, which was only there to inject the mergeform into the context. Dropping the EntitiesUpdate view also means dropping the custom route pointing to it as well as dropping the `get_edit_url` override of the AbstractEntity.
- Loading branch information
Showing
4 changed files
with
2 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters