views.generic.dates.DayMixin
  • References/Python/Django/API/Date-based mixins

class DayMixin [source] A mixin that can be used to retrieve and provide parsing information

2025-01-10 15:47:30
auth.mixins.UserPassesTestMixin.test_func()
  • References/Python/Django/Guides

test_func() You have to override the test_func() method of the class to provide the test that is performed. Furthermore

2025-01-10 15:47:30
views.generic.edit.ProcessFormView.get()
  • References/Python/Django/API/Editing mixins

get(request, *args, **kwargs) Renders a response using a context created with get_context_data().

2025-01-10 15:47:30
views.debug.SafeExceptionReporterFilter.is_active()
  • References/Python/Django/Guides: How-tos

SafeExceptionReporterFilter.is_active(request) [source] Returns True to activate

2025-01-10 15:47:30
utils.timezone.get_fixed_timezone()
  • References/Python/Django/API/Django Utils

get_fixed_timezone(offset) [source] Returns a

2025-01-10 15:47:30
test.TransactionTestCase.fixtures
  • References/Python/Django/Guides

TransactionTestCase.fixtures A test case for a database-backed website isn’t much use if there isn’t any data in the database

2025-01-10 15:47:30
gis.geoip.GeoIP.lon_lat()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).

2025-01-10 15:47:30
db.models.Manager.raw()
  • References/Python/Django/Guides

Manager.raw(raw_query, params=None, translations=None) This method takes a raw SQL query, executes it, and returns a django

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

__delitem__(key) Example: del request.session['fav_color']. This raises KeyError if the given key

2025-01-10 15:47:30
gis.widgets.BaseGeometryWidget.map_srid
  • References/Python/Django/API/GeoDjango Forms API

BaseGeometryWidget.map_srid SRID code used by the map (default is 4326).

2025-01-10 15:47:30