template.base.Origin.name

name The path to the template as returned by the template loader. For loaders that read from the file system, this is the full path to the template. If the template is instantiated directly rather than through a template loader, this is a string value of <unknown_source>.

sessions.backends.base.SessionBase.get()

get(key, default=None) Example: fav_color = request.session.get('fav_color', 'red')

template.loaders.base.Loader.get_contents()

get_contents(origin) Returns the contents for a template given a Origin instance. This is where a filesystem loader would read contents from the filesystem, or a database loader would read from the database. If a matching template doesn’t exist, this should raise a TemplateDoesNotExist error.

utils.safestring.mark_for_escaping()

mark_for_escaping(s) [source] Deprecated since version 1.10. Explicitly mark a string as requiring HTML escaping upon output. Has no effect on SafeData subclasses. Can be called multiple times on a single string (the resulting escaping is only applied once).

template.context_processors.tz()

tz() [source] If this processor is enabled, every RequestContext will contain a variable TIME_ZONE, providing the name of the currently active time zone.

contenttypes.admin.GenericInlineModelAdmin.ct_field

ct_field The name of the ContentType foreign key field on the model. Defaults to content_type.

core.management.BaseCommand.handle()

BaseCommand.handle(*args, **options) [source] The actual logic of the command. Subclasses must implement this method. It may return a Unicode string which will be printed to stdout (wrapped by BEGIN; and COMMIT; if output_transaction is True).

admin.models.LogEntry.action_time

LogEntry.action_time The date and time of the action.

views.generic.dates.BaseDayArchiveView

class BaseDayArchiveView [source]

views.generic.list.MultipleObjectMixin

class django.views.generic.list.MultipleObjectMixin A mixin that can be used to display a list of objects. If paginate_by is specified, Django will paginate the results returned by this. You can specify the page number in the URL in one of two ways: Use the page parameter in the URLconf. For example, this is what your URLconf might look like: url(r'^objects/page(?P<page>[0-9]+)/$', PaginatedView.as_view()), Pass the page number via the page query-string parameter. For example, a UR