forms.Widget.format_value()
  • References/Python/Django/API/Forms/Widgets

format_value(value) Cleans and returns a value for use in the widget template. value isn’t guaranteed to be valid

2025-01-10 15:47:30
Testing GeoDjango apps
  • References/Python/Django/API/Testing GeoDjango apps

Included in this documentation are some additional notes and settings for PostGIS users. PostGIS

2025-01-10 15:47:30
test.skipIfDBFeature()
  • References/Python/Django/Guides

skipIfDBFeature(*feature_name_strings) [source] Skip the decorated test or TestCase

2025-01-10 15:47:30
core.management.LabelCommand.handle_label()
  • References/Python/Django/Guides: How-tos

LabelCommand.handle_label(label, **options) Perform the command’s actions for label, which will be the string as

2025-01-10 15:47:30
views.generic.dates.BaseDateListView.get_date_list()
  • References/Python/Django/API/Date-based mixins

get_date_list(queryset, date_type=None, ordering='ASC') [source] Returns the list of dates

2025-01-10 15:47:30
auth.models.PermissionsMixin.has_perm()
  • References/Python/Django/Guides

has_perm(perm, obj=None) Returns True if the user has the specified permission, where perm is in the

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

HttpRequest.scheme A string representing the scheme of the request (http or https usually).

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

BaseCommand.requires_migrations_checks New in Django 1.10.

2025-01-10 15:47:30
db.models.query.QuerySet.values()
  • References/Python/Django/API/Models/QuerySet API reference

values(*fields) Returns a QuerySet that returns dictionaries, rather than model instances, when used as an iterable

2025-01-10 15:47:30
db.models.lookups.RegisterLookupMixin.get_lookup()
  • References/Python/Django/API/Models/Lookup API reference

get_lookup(lookup_name) Returns the Lookup named lookup_name registered in the class. The default

2025-01-10 15:47:30