__setitem__(key, value) Example: request.session['fav_color'] = 'blue'
create_test_db(verbosity=1, autoclobber=False, serialize=True, keepdb=False) Creates a new test database and runs migrate
loads(string, key=None, salt='django.core.signing', max_age=None) [source] Reverse of dumps()
set_expiry(value) Sets the expiration time for the session. You can pass a number of different values:
set_rollback(rollback, using=None) [source] Setting the rollback flag to True
Page.has_next() [source] Returns True if there’s a next page.
Client.session A dictionary-like object containing session information. See the session documentation
SimpleTestCase.assertTemplateNotUsed(response, template_name, msg_prefix='') [source] Asserts
django.views.decorators.cache.cache_page() A more granular way to use the caching framework is by caching the output of individual
require_POST() Decorator to require that a view only accepts the POST method.
Page 10 of 35