-
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to easily copy existing FlatMenus via the Wagtail adm…
…in area (#49) * Use custom `clean()` method to raise useful ValidationError when unique_together isn't respected * Adds FlatMenuCopyView to allow copying of an existing FlatMenu * Adds 'copy' button to listing page to easily access for each FlatMenu * Added a `link_handle` to `MenuItem` model (#39) (#41) * Added a `link_handle` to `MenuItem` model (#39) * Added documentation * Added entries /credits to CHANGELOG.md and CONTRIBUTORS.md * Improved consistency of 'new line usage' in release notes * Update screenshot of flat menu listing * Added documentation * Add `django-webtest` to test requirements and use to do some testing of the copy view
- Loading branch information
Andy Babic
committed
Oct 4, 2016
1 parent
4edfd17
commit a1ed0f0
Showing
11 changed files
with
228 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
-r base.txt | ||
|
||
django-webtest>=1.8.0 | ||
beautifulsoup4>=4.4.1,<4.5.0 | ||
coverage>=3.6 | ||
tox |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from .base import * # NOQA | ||
|
||
DEBUG = True | ||
DEBUG = False | ||
SITE_ID = 1 | ||
|
||
DATABASES = { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% extends "modeladmin/create.html" %} | ||
{% load i18n %} | ||
|
||
{% block form_action %}{{ view.copy_url }}{% endblock %} |
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