redirects.middleware.RedirectFallbackMiddleware.response_redirect_class
  • References/Python/Django/API/contrib packages/The redirects app

response_redirect_class The

2025-01-10 15:47:30
db.models.Field.one_to_many
  • References/Python/Django/API/Models/Model field reference

Field.one_to_many Boolean flag that is True if the field has a one-to-many relation, such as a GenericRelation

2025-01-10 15:47:30
admin.AdminSite.add_action()
  • References/Python/Django/API/Admin actions

AdminSite.add_action(action, name=None) [source] Some actions are best if they’re made available

2025-01-10 15:47:30
gis.db.models.functions.Centroid
  • References/Python/Django/API/Geographic Database Functions

class Centroid(expression, **extra) Availability: MySQL, PostGIS, Oracle, SpatiaLite Accepts

2025-01-10 15:47:30
template.loaders.locmem.Loader
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

class locmem.Loader Loads templates from a Python dictionary. This is useful for testing. This

2025-01-10 15:47:30
postgres.forms.JSONField
  • References/Python/Django/API/PostgreSQL specific form fields and widgets

class JSONField [source] A field which accepts JSON encoded data for a

2025-01-10 15:47:30
core.validators.DecimalValidator
  • References/Python/Django/API/Validators

class DecimalValidator(max_digits, decimal_places) [source]

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

GeoIP.country_name_by_addr(query)

2025-01-10 15:47:30
views.generic.base.RedirectView.pattern_name
  • References/Python/Django/API/Built-in class-based views API/Base views

pattern_name The name of the URL pattern to redirect to. Reversing will be done using the same args and kwargs as are passed

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