urls.ResolverMatch
  • References/Python/Django/API/django.urls utility functions

class ResolverMatch [source] func The

2025-01-10 15:47:30
views.generic.detail.SingleObjectMixin.query_pk_and_slug
  • References/Python/Django/API/Single object mixins

query_pk_and_slug If True, causes get_object() to perform its lookup using both the primary key and

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
utils.translation.get_language_info()
  • References/Python/Django/Guides

get_language_info() [source] The get_language_info() function provides detailed

2025-01-10 15:47:30
auth.models.CustomUser
  • References/Python/Django/Guides

class models.CustomUser USERNAME_FIELD A string describing the name of the

2025-01-10 15:47:30
core.files.images.ImageFile.height
  • References/Python/Django/API/File handling/The File object

height Height of the image in pixels.

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

get_test_func() You can also override the get_test_func() method to have the mixin use a differently named function

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

Field.db_tablespace The name of the database tablespace to use for this field’s index, if this field

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

create_superuser(*username_field*, password, **other_fields) The prototype of create_superuser() should accept

2025-01-10 15:47:30
db.transaction.savepoint()
  • References/Python/Django/Guides

savepoint(using=None) [source] Creates a new savepoint. This marks a point in the transaction

2025-01-10 15:47:30