Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete_orphaned_plugins command #1564

Merged
merged 79 commits into from Jan 15, 2013
Merged

Conversation

evildmp
Copy link
Contributor

@evildmp evildmp commented Dec 19, 2012

Improves the cms list plugins command, and adds a new command to delete orphaned plugins.

Orphaned plugins are ones that exist in the CMSPlugins table, but:

  • have a plugin_type that is no longer even installed
  • have no corresponding saved instance in the table for that specific plugin

The second type is easy to create inadvertently: Insert a plugin in the admin, but don't save it. One of my databases had literally hundreds of these.

Includes tests and docs.

yakky and others added 30 commits October 12, 2012 10:47
Conflicts:
	cms/test_utils/cli.py
	runtests.py
Conflicts:
	cms/signals.py
	cms/tests/page.py
… group chagnes, clear the permissions cache for all users which belong to that group

* whitespace removal
…ns, do the filtering on inline instances rather than on the generated formsets.

This ensures proper behaviour even if multiple inlines would be added in the future.
Conflicts:
	cms/tests/page.py
rizumu and others added 18 commits December 21, 2012 12:57
Stop loading the adminmedia template library
get_page_queryset_from_path() in cms/utils/page_resolver.py not 100% site aware
cursor focus when inserting plugin object (thus throwing escaped HTML to
the top of the area).

Tested in FF18, Chrome 23, Safari 5.1.7 (win), IE8, IE9, IE10.
Troubleshooting section for custom plugins
Add unselectable IE attribute to wymiframe to prevent IE from losing focus
…ion-note

note on non-registration of plugin admin classes
@evildmp evildmp merged commit a8004df into django-cms:develop Jan 15, 2013
@evildmp
Copy link
Contributor Author

evildmp commented Jan 15, 2013

See #1589 (now merged).

@evildmp evildmp deleted the fix-list-command branch July 10, 2014 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants