db.models.SET_NULL
  • References/Python/Django/API/Models/Model field reference

SET_NULL [source] Set the ForeignKey null; this is only possible if null

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

class FilePathField(path=None, match=None, recursive=False, max_length=100, **options) [source] A

2025-01-10 15:47:30
forms.BoundField.as_hidden()
  • References/Python/Django/API/Forms/The Forms API

BoundField.as_hidden(attrs=None, **kwargs) [source] Returns a string of HTML for representing

2025-01-10 15:47:30
http.HttpRequest.path
  • References/Python/Django/API/Request and response objects

HttpRequest.path A string representing the full path to the requested page, not including the scheme or domain.

2025-01-10 15:47:30
views.generic.base.View.http_method_not_allowed()
  • References/Python/Django/API/Built-in class-based views API/Base views

http_method_not_allowed(request, *args, **kwargs) If the view was called with a HTTP method it doesn’t support, this method

2025-01-10 15:47:30
auth.models.User.is_superuser
  • References/Python/Django/API/contrib packages/django.contrib.auth

is_superuser Boolean. Designates that this user has all permissions without explicitly assigning them.

2025-01-10 15:47:30
forms.CharField.strip
  • References/Python/Django/API/Forms/Form fields

strip New in Django 1.9. If True

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

message The error message used by ValidationError if validation fails. Defaults to "Enter a valid value"

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

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

2025-01-10 15:47:30
forms.RegexField.regex
  • References/Python/Django/API/Forms/Form fields

regex A regular expression specified either as a string or a compiled regular expression object. Also

2025-01-10 15:47:30