Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.


Compatibility functions for working with template contexts.


Flatten a template context into a dictionary.

Django 1.7 introduced Context.flatten, which converts a template context into a dictionary. However, this doesn’t exist on Django 1.6. This compatibility function ensures equivalent functionality on both.