template.loaders.base.Loader
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

class Loader [source] Loads templates from a given source, such as the filesystem or a database

2025-01-10 15:47:30
postgres.search.SearchVectorField
  • References/Python/Django/API/Full text search

class SearchVectorField [source] If this approach becomes too slow, you can add a

2025-01-10 15:47:30
utils.feedgenerator.SyndicationFeed.num_items()
  • References/Python/Django/API/Django Utils

num_items() [source]

2025-01-10 15:47:30
views.generic.list.MultipleObjectMixin.model
  • References/Python/Django/API/Multiple object mixins

model The model that this view will display data for. Specifying model = Foo is effectively the same as specifying

2025-01-10 15:47:30
views.generic.detail.SingleObjectMixin.context_object_name
  • References/Python/Django/API/Single object mixins

context_object_name Designates the name of the variable to use in the context.

2025-01-10 15:47:30
sessions.base_session.BaseSessionManager.encode()
  • References/Python/Django/Guides

encode(session_dict) Returns the given session dictionary serialized and encoded as a string. Encoding

2025-01-10 15:47:30
core.management.BaseCommand.can_import_settings
  • References/Python/Django/Guides: How-tos

BaseCommand.can_import_settings A boolean indicating whether the command needs to be able to import Django settings; if True

2025-01-10 15:47:30
sessions.backends.base.SessionBase.get()
  • References/Python/Django/Guides

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

2025-01-10 15:47:30
http.HttpResponse.delete_cookie()
  • References/Python/Django/API/Request and response objects

HttpResponse.delete_cookie(key, path='/', domain=None) Deletes the cookie with the given key. Fails silently if the key doesn’t

2025-01-10 15:47:30
auth.backends.ModelBackend.get_all_permissions()
  • References/Python/Django/API/contrib packages/django.contrib.auth

get_all_permissions(user_obj, obj=None) Returns the set of permission strings the user_obj has, including both

2025-01-10 15:47:30