Merge pull request #2043 from Chive/docs/file-permissions-plugins

Document #1772
Merge pull request #2748 from Chive/docs/cleanup

Docs Cleanup
p3k exception handling
Convert page_url to an AsTag

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
[docs] explains `with` tag usage in templates
Merge pull request #1027 from Chive/docs/plugin-context

[Docs] plugin reference should cover provided contexts.
fixes #2732
Switched to version from https://github.com/okfn/foundation, also added a test.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
better url resolver
Update documentation for page_url accordingly.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
fallback on match with $
More accurate documentation

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
fix tests
backwards compapatible mixin classes
Merge branch 'develop' of github.com:divio/django-cms into fixes/2714
Return empty string on lookup failures when used as AsTag, also, test this.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
Return '' when var_name is supplied, but set the value to None as appropriate.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
Updated test

In this test, we use template logic to emit 'DNE' if the page is not found and the AsTag returned None.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
removed django trunk from testing
Implementation refactored for render_tag as per @ojii

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>