get_language_info() [source] The get_language_info() function provides detailed
gzip_page() This decorator compresses content if the browser allows gzip compression. It sets the Vary header accordingly
set_expiry(value) Sets the expiration time for the session. You can pass a number of different values:
is_staff Returns True if the user is allowed to have access to the admin site.
Writing Web applications can be monotonous, because we repeat certain patterns again and again. Django tries to take away some of that monotony at the model and template layers
Page.has_other_pages() [source] Returns True if there’s a next or previous
json(**kwargs) New in Django 1.9. The
Migration.initial New in Django 1.9. The
set_rollback(rollback, using=None) [source] Setting the rollback flag to True
content The body of the response, as a bytestring. This is the final page content as rendered by the view, or any error message
Page 11 of 35