For excluding inline admins for which the user doesn't have permissions, 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.
Validate that the page being added has the same site as it's parent page.
Removed useless change of test_reverse_id_error_location in previous commit
Fixed test_add_edit_plugin. Test wasn't properly testing the cancel button functionality due to the wrong URL
Added test for covering 'edit plugin' history navigation
* fixed 'cancel' button on edit plugin form (when used in as PluginField in a custom model)
* mind that the fix duplicates code from pluginadmin.py; however, this seems to be the common pattern (most of the edit_plugin method is already duplicated)
Inheriting from a class that defines 'test_' methods makes the tests from the superclass run twice. Fixed this.
Fixed tests for django<1.4 by making MockStorage instances iterable
* when a page permission or global page permission which references a group chagnes, clear the permissions cache for all users which belong to that group
* whitespace removal
Added unit test for permissions cache invalidation.
Changed name of the app (results in easier dependency management) and bumped version.