django
django copied to clipboard
The Web framework for perfectionists with deadlines.
[ticket-31335](https://code.djangoproject.com/ticket/31335)
Clarify the need to use Coalesce when aggregating within a Subquery to cover the case when there are no related records. Provide an example.
change camelcase to snake case.
Prior to this change, the request has been written into a spooled temporary file as the HTTPRequest class depends on a byte/io-like stream to process and parse its content as...
The doc says: ``` The delete method, conveniently, is named [delete()](https://docs.djangoproject.com/en/4.0/ref/models/instances/#django.db.models.Model.delete). This method immediately deletes the object and returns the number of objects deleted and a dictionary with the number...
[Related Trac ticket](https://code.djangoproject.com/ticket/24529) In order to support multi-level squashing, we need to be a bit smarter about how we traverse replacements. The solution here introduces some extra checks on squashed...
This PR makes two changes to the `startproject` template: * instead of putting configuration files such as `settings.py`, `wsgi.py`, and the root `urls.py` in `my_project/my_project`, they are created in `my_project/config`...
This update allows to set the key_prefix as a callable. Discussions: https://code.djangoproject.com/ticket/33604 https://groups.google.com/g/django-developers/c/UbD1DkV1uPo
This avoids calling `len()` on `cl.result_list`.