admin.ModelAdmin.view_on_site
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.view_on_site Set view_on_site to control whether or not to display the “View on site” link. This link

2025-01-10 15:47:30
postgres.operations.TrigramExtension
  • References/Python/Django/API/Database migration operations

class TrigramExtension [source] New in Django

2025-01-10 15:47:30
gis.geos.PreparedGeometry.disjoint()
  • References/Python/Django/API/GEOS API

disjoint(other)

2025-01-10 15:47:30
postgres.forms.SimpleArrayField.max_length
  • References/Python/Django/API/PostgreSQL specific form fields and widgets

max_length This is an optional argument which validates that the array does not exceed the stated length.

2025-01-10 15:47:30
views.generic.dates.DateMixin.date_field
  • References/Python/Django/API/Date-based mixins

date_field The name of the DateField or DateTimeField in the QuerySet’s model that the

2025-01-10 15:47:30
views.generic.list.MultipleObjectMixin.get_context_data()
  • References/Python/Django/API/Multiple object mixins

get_context_data(**kwargs) Returns context data for displaying the list of objects.

2025-01-10 15:47:30
db.models.Options.required_db_features
  • References/Python/Django/API/Models/Model Meta options

Options.required_db_features New in Django 1.9. List

2025-01-10 15:47:30
staticfiles.storage.StaticFilesStorage.post_process()
  • References/Python/Django/API/contrib packages/The staticfiles app

storage.StaticFilesStorage.post_process(paths, **options) This method is called by the collectstatic management

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

ManyToManyField.swappable Controls the migration framework’s reaction if this ManyToManyField is pointing at a

2025-01-10 15:47:30
template.Template.render()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Template.render(context) [source] Call the Template object’s render()

2025-01-10 15:47:30