Django 1.5 is the first version of Django to support Python 3. The same code runs both on Python 2 (≥ 2.6.5) and Python 3 (≥ 3.2), thanks to the
clear_expired() Removes expired sessions from the session store. This class method is called by clearsessions.
Signal.send_robust(sender, **kwargs) [source] To send a signal, call either Signal
Introductions to all the key parts of Django you’ll need to know: How to install Django Models
get_group_permissions(obj=None) Returns a set of permission strings that the user has, through their groups.
class PasswordChangeForm A form for allowing a user to change their password.
commit(using=None) [source]
class DiscoverRunner(pattern='test*.py', top_level=None, verbosity=1, interactive=True, failfast=False, keepdb=False, reverse=False, debug_sql=False, **kwargs)
expire_date A datetime designating when the session expires. Expired sessions are not available
TransactionTestCase.assertQuerysetEqual(qs, values, transform=repr, ordered=True, msg=None) [source]
Page 27 of 35