db.migrations.operations.AlterModelTable
  • References/Python/Django/API/Migration Operations

class AlterModelTable(name, table) [source] Changes the model’s table name (the

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

has_permission() Returns a boolean denoting whether the current user has permission to execute the decorated view. By default

2025-01-10 15:47:30
db.models.Transform.output_field
  • References/Python/Django/API/Models/Lookup API reference

output_field Defines the class this transformation outputs. It must be a

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

HttpRequest.content_type New in Django 1.10. A

2025-01-10 15:47:30
core.files.storage.Storage.created_time()
  • References/Python/Django/API/File handling/File storage API

created_time(name) [source] Returns a naive datetime object containing the creation

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

SimpleTestCase.assertTemplateNotUsed(response, template_name, msg_prefix='') [source] Asserts

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

rel_db_type(connection) [source] New in Django

2025-01-10 15:47:30
contrib packages
  • References/Python/Django/API/contrib packages

Django aims to follow Python’s

2025-01-10 15:47:30
postgres.aggregates.StringAgg.delimiter
  • References/Python/Django/API/PostgreSQL specific aggregation functions

delimiter Required argument. Needs to be a string.

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

Field.unique_for_year Like unique_for_date and unique_for_month.

2025-01-10 15:47:30