django
django copied to clipboard
The Web framework for perfectionists with deadlines.
Hi! It fixes [ticket 12090](https://code.djangoproject.com/ticket/12090) - **New discussion thread**: https://forum.djangoproject.com/t/admin-actions-also-in-the-object-details-view/22927/4 - When `save_on_top` is `True` looks like: ![image](https://github.com/django/django/assets/16822952/dffaf334-ce46-4774-83f7-7d929018fb37) - To run tests please do: `./runtests.py admin_views.test_actions.AdminDetailActionsTest`
We can introduce ``s in the Django action selector. This can easily be done by slightly extending the decorator with a group, and rewriting the logic of `get_action_choices` to introduce...
https://code.djangoproject.com/ticket/33931
When executing `str` on `django.db.models.sql.query.Query` objects, string parameters will be wrapped in single quotation marks. For example: ``` str(Article.objects.filter(headline="", id=1).values("id").query) ``` returns ``` SELECT "backends_article"."id" FROM "backends_article" WHERE ("backends_article"."headline" =...
Fixes #34643 by moving admin form labels above the inputs instead of left aligned. Before - After -
ticket-28011 c5a77721e2fccff427374cd987a6d8b92a37f37c removed the only override of `ForeignObjectRel.is_hidden()`, leaving it duplicative of the `hidden` attribute. This PR removes the method, replacing all use with the attribute only.
ticket-28011
Fixes [#35038](https://code.djangoproject.com/ticket/35038). I created a method within the `BaseConstraint` class that returns a copy of the Constraint object without the two fields (`violation_error_code` and `violation_error_message`) that do not affect the...