forms.BoundField.css_classes()
  • References/Python/Django/API/Forms/The Forms API

BoundField.css_classes() [source] When you use Django’s rendering shortcuts, CSS classes

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.chunks()
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.chunks(chunk_size=None) A generator returning chunks of the file. If multiple_chunks() is True

2025-01-10 15:47:30
forms.TimeInput
  • References/Python/Django/API/Forms/Widgets

class TimeInput [source] Time input as a simple text box: <input type='text' ..

2025-01-10 15:47:30
admin.ModelAdmin.empty_value_display
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.empty_value_display New in Django 1.9. This

2025-01-10 15:47:30
admin.ModelAdmin.actions_on_bottom
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.actions_on_bottom Controls where on the page the actions bar appears. By default, the admin changelist displays actions

2025-01-10 15:47:30
urls.get_script_prefix()
  • References/Python/Django/API/django.urls utility functions

get_script_prefix() [source] Normally, you should always use reverse() to define

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

to_locale(language) [source] Turns a language name (en-us) into a locale name (en_US).

2025-01-10 15:47:30
urls.ResolverMatch.func
  • References/Python/Django/API/django.urls utility functions

func The view function that would be used to serve the URL

2025-01-10 15:47:30
db.models.Model.validate_unique()
  • References/Python/Django/API/Models/Model instance reference

Model.validate_unique(exclude=None) [source] This method is similar to clean_fields()

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

query_string Whether to pass along the GET query string to the new location. If True, then the query string is

2025-01-10 15:47:30