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.
Use 'pbs' as suffix rather than prefix. This is in order to be consistent with other apps forked by pbs.
Added s3sourceuploader as a setup requirement.
Revert back to django-cms name and suffix version with pbs

There are problems with dependencies if we change the name of the
project. E.g. we can't force other project not to pull original project
because of their dependencies => we need to rely on versioning alone to
force all packages to use our fork.

* Dev mode: in the umbrella project specify the development dependency as
'<x.y.z' where x.y.z is the next version unreleased of the parent prj
* Stable mode: in the umbrella project keep 2 dependencies for our fork.
'<x.y.z' and '==x.y.zpbs'
Workaround the fact that select_for_update by default runs on the db_for_read rather than db_for_write
Merge remote-tracking branch 'pbs/support/2.3.x' into support/2.3.x