django
django copied to clipboard
The Web framework for perfectionists with deadlines.
Modified SelectBox.js so that optgroups are honored. When an item is moved from unselected to selected box, order is maintained by group and then item name. Also added a test....
https://code.djangoproject.com/ticket/28215
Follows on from "[Fixed #33004 -- Made saving objects with unsaved GenericForeignKey raise ValueError.](https://github.com/django/django/pull/15613)" Aims to allow saving a `GenericForiegnKey` after the parent (see `test_save_generic_foreign_key_after_parent`), **without** removing the ability to...
Ticket: https://code.djangoproject.com/ticket/33606 The session ID should be cleansed when reporting errors, just like other credentials. Related to https://code.djangoproject.com/ticket/29714 Discussion on the mailing list: https://groups.google.com/g/django-developers/c/H5hJxpwYFcw A quick github search yields multiple...
TODO: add docs and tests
This is a work in progress attempt to implement `RegexpReplace()`, etc. for ticket-28805. **Backend Support:** PostgreSQL: - [`regexp_count(expr, pattern, position?, flags?)`](https://www.postgresql.org/docs/15/functions-string.html#id-1.5.8.10.7.2.2.21.1.1.1) -- v15+ only - [`regexp_instr(expr, pattern, position?, occurrence?, return_opt?,...
ticket-26472
ticket-30032 #### TL;DR Adds support for query expression as default values for PostgreSQL and Oracle. The expression are not stored on the database as defaults but are passed on `INSERT`...
[Ticket 25068](https://code.djangoproject.com/ticket/25068) Fix bug that doesn't allow models with multiple bases to be migrated