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

Fixes Location plugin edition after adding to map #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

marcosguedes
Copy link

Refers to issue #8 where Location edition becomes impossible after adding a Location to a map.
Kudos to @lmanzurv for finding this solution. All suggestions are welcome

@@ -21,8 +21,9 @@ class LocationPlugin(CMSPluginBase):
form = LocationForm
module = settings.DJANGOCMS_GMAPS_PLUGIN_MODULE
name = settings.DJANGOCMS_GMAPS_LOCATION_PLUGIN_NAME
render_plugin = False
render_plugin = True
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mishbahr
Copy link
Owner

mishbahr commented Apr 9, 2018

I haven't used django-cms for over 2 years now. Is there a better solution than having to add an empty template?

Also we probably should set require_parent to True for child plugin.

@marcosguedes
Copy link
Author

Right, my bad!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants