Simon Charette

(charettes)

Most Active Role

Bug Fixer

Most Active Component

Database Layer (Models, Orm)

Activity Timeline

Components

Tickets

Trac Ticket (592) Reporter (146) Owner (237) Commenter (1229) Summary Component
28900 28900 3 QuerySet.values() and values_list() for compound queries fails with annotation. Database layer (models, ORM)
34699 34699 1 Filtering on annotated TruncSecond expression gives unexpected result. Database layer (models, ORM)
34819 34819 1 GenericForeignKey.get_prefetch_queryset() contrib.contenttypes
27222 27222 5 Refresh fields that are expressions after Model.save() Database layer (models, ORM)
34262 34262 7 Queryset grouped by annotation with aggregates on another annotated expression crashes on MySQL with sql_mode=only_full_group_by. Database layer (models, ORM)
33579 33579 8 Raise a specialized exception when Model.save(update_fields) does not affect any rows Database layer (models, ORM)
29799 29799 Allow registration and unregistration of lookups per field instances. Database layer (models, ORM)
34871 34871 6 Validation of UniqueConstraint with Case() crashes. Database layer (models, ORM)
35358 35358 2 Rename BaseConstraint._check() to check() Database layer (models, ORM)
35234 35234 5 ExclusionConstraint.expressions should be checked for foreign relationship references contrib.postgres
30628 30628 2 order_by() on union() querysets results with wrong ordering when the same field type is presented multiple times. Database layer (models, ORM)
373 373 1 Add support for multi-column primary keys. Database layer (models, ORM)
34975 34975 7 aggregate() crashes when referencing existing aggregations or window expressions through conditional expressions Database layer (models, ORM)
27021 27021 Add explicit support for Q object annotations Database layer (models, ORM)
470 470 2 Add Field.db_default for defining database defaults Database layer (models, ORM)
27833 27833 2 prefetch_related fails with SQLite when used with 1000 parent records Database layer (models, ORM)
27880 27880 1 Use __set_name__ to replace some usages of contribute_to_class. Database layer (models, ORM)
34609 34609 Deprecate format_html calls without args or kwargs Utilities
34462 34462 1 Deletions in admin panel create N + 1 queries contrib.admin
27236 27236 3 Deprecate Model.Meta.index_together in favour of Model.Meta.indexes Database layer (models, ORM)
34856 34856 Running tests with historical migrations that contain index together fails with TypeError. Migrations
34533 34533 1 OuterRef not resolved as part of ORDER BY clause Database layer (models, ORM)
27452 27452 3 Add Postgres serial field to contrib.postgres contrib.postgres
35011 35011 2 Queryset union can fail depending on the field type and/or order Database layer (models, ORM)
34555 34555 2 ModelBase metaclass implementation prevents addition of model fields via __init_subclass__ Database layer (models, ORM)
26322 26322 Rewrite the lazy model reference section of related fields docs Documentation
34887 34887 1 Allow unlimited CharField for SQLite backend Database layer (models, ORM)
35064 35064 2 Window.order_by decimal field is broken on SQLite Database layer (models, ORM)
34013 34013 3 Support ordering by annotation transforms (e.g JSONObject/ArrayAgg transforms). Database layer (models, ORM)
30408 30408 2 CheckConstraint with lookup using LIKE & % crash on Oracle and PostgreSQL. Database layer (models, ORM)
35336 35336 4 Adding GeneratedField fails with ProgrammingError when using When on CharField Database layer (models, ORM)
34125 34125 3 Limiting QuerySet crashes on union() with a single non-empty query Database layer (models, ORM)
34636 34636 1 Add documentation for Query's function `sql_with_params` Database layer (models, ORM)
34701 34701 2 Add support for NULLS [NOT] DISTINCT to UniqueConstraint Database layer (models, ORM)
34502 34502 1 Union giving wrong column ordering even when using .values/.values_list Database layer (models, ORM)
34881 34881 2 migrate crashes when renaming model referenced twice by ManyToManyField.through model on SQLite. Migrations
35356 35356 5 Issue with OneToOneField and recursive relationships in select_related() and only(). Database layer (models, ORM)
34417 34417 3 AlterField migration on ForeignKey field re-creates foreign key constraints unnecessarily Migrations
34612 34612 2 QuerySet.only() doesn't work with select_related() on a reverse OneToOneField relation. Database layer (models, ORM)
34331 34331 3 Support prefetch_related() with Queryset.aiterator() Database layer (models, ORM)
35373 35373 1 GeneratedField alteration fail on SQLite due table remake data insertion Database layer (models, ORM)
34925 34925 1 refresh_from_db() will not iterate through all of the fields listed in the 'fields' parameter. Database layer (models, ORM)
34297 34297 1 ValueError: invalid token in plural form: EXPRESSION when adding new language Utilities
34838 34838 2 GeoDjango database functions incompatible with GeneratedField Database layer (models, ORM)
34211 34211 1 Performance regression in ForeignKeyDeferredAttribute changes. Database layer (models, ORM)
29898 29898 Adapt schema editors to operate from model states instead of fake rendered models Migrations
18597 18597 1 `BaseInlineFormSet` should attempt to get it's queryset from it's instance related manager before falling back to it's model's default manager Forms
34841 34841 Reverse migrations model state rendering slow with moderate to large migrations Migrations
34943 34943 2 Support passing unique constraint names to bulk_create(). Database layer (models, ORM)
27447 27447 1 Provide an easy way to test sending of signals Testing framework
32673 32673 1 Nested Q() objects raises ProgrammingError on PostgreSQL and Oracle. Database layer (models, ORM)
27080 27080 1 `as_manager` on QuerySet should pass down `use_in_migrations` to new Manager instance Migrations
34964 34964 2 Reversing the order of Q objects in a CheckConstraint generates a migration Migrations
27201 27201 1 Django 1.10 with STATICFILES_STORAGE breaks on absolute path in CSS with double slash contrib.staticfiles
34914 34914 1 Postgres connection is not restarted after it's dropped by the server, even if we use CONN_HEALTH_CHECKS=True Database layer (models, ORM)
34597 34597 6 Queryset (split) exclude's usage of Exists is significantly slower than subquery Database layer (models, ORM)
35149 35149 6 JSONField db_default requires wrapping values in json.dumps() Database layer (models, ORM)
35162 35162 Adding a BinaryField, TextField, JSONField, or GeometryField with a db_default crashes on MySQL Database layer (models, ORM)
34971 34971 2 Several loggers missing from logging documentation Documentation
35111 35111 2 DateField's __range and __in lookups against expressions produce invalid values on SQLite. Database layer (models, ORM)
35102 35102 4 Performance regression on Model.objects.count() between Django 4.2 and 5.0 Database layer (models, ORM)
35028 35028 4 psycopg3: distinct query iteration causes psycopg.errors.InvalidColumnReference: for SELECT DISTINCT, ORDER BY expressions must appear in select list Database layer (models, ORM)
35042 35042 2 Queryset count does not work after union when annotations on aggregation are unused. Database layer (models, ORM)
27813 27813 1 BinaryField type inconsistent between sqlite3 (bytes) and postgresql (memoryview) Database layer (models, ORM)
34742 34742 3 calling a DELETE endpoint without a trailing slash does not thow RuntimeError in DEBUG mode HTTP handling
34593 34593 1 Django admin list does same Count query twice when there are no filters contrib.admin
34633 34633 Add prefetch_related() cache invalidation for create() in reverse many-to-one managers. Database layer (models, ORM)
34978 34978 4 Annotating through an aggregate with RawSQL() raises 1056 "Can't group on" on MySQL/MariaDB. Database layer (models, ORM)
31331 31331 4 GROUP BY optimization doesn't work properly when ONLY_FULL_GROUP_BY mode is enabled on MySQL. Database layer (models, ORM)
34987 34987 2 "Expression contains mixed types" exception when performing window function on query that also has aggregates. Database layer (models, ORM)
34972 34972 1 Aggregate with CombinedExpression resulting in NotImplemented instead of None after update from 3.2 -> 4.2 Database layer (models, ORM)
34717 34717 2 Cannot use aggregate over window functions since 4.2 Database layer (models, ORM)
34944 34944 2 Missing or misinferred attributes in output fields of generated fields Database layer (models, ORM)
30446 30446 6 Automatically resolve Value's output_field for stdlib types. Database layer (models, ORM)
34955 34955 3 Make Concat() use the database operator `||` on PostgreSQL. Database layer (models, ORM)
34967 34967 Queries not generating GROUP BY clause with static annotation crashes on SQLite Database layer (models, ORM)
34963 34963 1 Recursive and other "combinator" queries broken in django-cte Uncategorized
34954 34954 1 Improve `output_field` resolution of `Concat` Database layer (models, ORM)
34229 34229 1 "no such column" when combining FilteredRelation and multi-table inheritance models Database layer (models, ORM)
32398 32398 1 Excluding on annotations doesn't apply null handling. Database layer (models, ORM)
34959 34959 1 Q(a=b) and Exact(a, b) handle NULLs differently Database layer (models, ORM)
34956 34956 1 Migration should not be allowed for a non-deterministic GeneratedField Database layer (models, ORM)
34946 34946 2 Adding a field with default and db_default drops database level DEFAULT Migrations
34940 34940 2 Filter queryset on "tuples" of values for multiple columns Database layer (models, ORM)
27403 27403 1 Document that prefetch_related doesn't guarantee transactional consistency Documentation
34903 34903 1 Parallel test runner failure on Windows Testing framework
34551 34551 2 Case-When aggregation over aggregated fields doesn't work since 4.2 Database layer (models, ORM)
28477 28477 5 Strip unused annotations from count queries Database layer (models, ORM)
34798 34798 4 Subquery wrapping is required in QuerySet.aggregate() for aggregates referencing nested subquery. Database layer (models, ORM)
34840 34840 4 Django 4.2 casts text fields when testing IS NULL, preventing use of partial indexes Database layer (models, ORM)
34808 34808 1 Some aggregation functions may return None; this isn't well documented Documentation
34894 34894 1 Query.change_aliases() has several significant bugs Database layer (models, ORM)
33482 33482 3 filter on exists-subquery with empty queryset removes whole WHERE block Database layer (models, ORM)
34877 34877 1 KeyError for output_field in GeneratedField Database layer (models, ORM)
34861 34861 2 KeyTextTransform incompatible with GeneratedField Database layer (models, ORM)
34858 34858 Output field for combined PositiveIntegerField is not properly resolved. Database layer (models, ORM)
34845 34845 2 Slow query when using exclude Database layer (models, ORM)
34847 34847 1 Serializer infinite recursion on M2M field if reference vars in init Core (Serialization)
34706 34706 1 Aggregation on annotated field fails starting on Django 4.2.2, when the aggregation has the same name as the annotation Uncategorized
34827 34827 1 select_for_update example raises TransactionManagementError Documentation
34816 34816 1 GenericForeignKey crashes if content_type_id is changed and object_id is type incompatible with old object contrib.contenttypes
34811 34811 1 Queryset filter Q order changed Database layer (models, ORM)
34803 34803 1 Nested OuterRef crashes with AttributeError Database layer (models, ORM)
34784 34784 1 Django french short date format translation bug Internationalization
34796 34796 1 Deleting child table does not delete rows in parent table when using multi-table inheritance Database layer (models, ORM)
34709 34709 charset should be ignored for the application/x-www-form-urlencoded content type. HTTP handling
34771 34771 QuerySet.order_by() crashes on constants that cannot be cast on MySQL. Database layer (models, ORM)
34362 34362 FilteredRelation doesn’t support conditional expression Database layer (models, ORM)
34754 34754 1 CheckConstraint with isnull lookup on JSONField transform None into null jsonb value Database layer (models, ORM)
27489 27489 1 Renaming a model doesn't rename the permission name and codename contrib.auth
34750 34750 2 Fixed QuerySet.count() on querysets grouped by unused multi-valued annotations. Database layer (models, ORM)
34748 34748 3 __in lookup crashes with a subquery containing an unused annotation that uses explicit grouping. Database layer (models, ORM)
34728 34728 1 OR operator on queryset does not work as expected Database layer (models, ORM)
34745 34745 1 Arbitrary rhs of lookup gives "Object has no attribute 'contains_aggregate'" Database layer (models, ORM)
34720 34720 1 BaseReloader.watch_dir() incorrectly checks for existence of path Utilities
34719 34719 1 modelBase.add_to_class is ineffective when called in __init_subclass__ of an abstract Model Database layer (models, ORM)
34413 34413 3 Variant of Prefetch but for the earliest/latest related object Database layer (models, ORM)
28333 28333 6 Filter and subquery for window expressions Database layer (models, ORM)
34697 34697 2 Migration serializer for sets results in non-deterministic order. Migrations
34639 34639 5 MySQL 8.0 hangs indefinitely when using the admin search with a Foreign Key and Annotate contrib.admin
34673 34673 1 Migrations ordering: add constraint run_immediately_after Migrations
34634 34634 3 Creating objects with nested MTI crashes. Database layer (models, ORM)
32143 32143 Use EXISTS to exclude multi-valued relationships Database layer (models, ORM)
34647 34647 Foreign Key index names are not renamed when a model is renamed causing duplicate key if a model with the origin name and column is added Migrations
34539 34539 1 `get_prep_value` no longer called for JSONField Database layer (models, ORM)
34641 34641 2 Null value referenced from a JSONField using an expression that defines an output_field returns the string "null" instead of a None value Uncategorized
34631 34631 Expression.identity() performance Database layer (models, ORM)
34570 34570 2 QuerySet.defer() raises an AttributeError when the field is ManyToManyField or GenericForeignKey Database layer (models, ORM)
34564 34564 6 returning None instead of zero in Count annotation Database layer (models, ORM)
34590 34590 2 Querying for decimals larger than max_digits crashes on SQLite Database layer (models, ORM)
34589 34589 1 exclude does not support nested ForeignKey relationship Database layer (models, ORM)
31679 31679 2 Django subtly produces incorrect query when the same keyword appears in both aggregate() and annotate() Database layer (models, ORM)
34580 34580 2 Performance regession in SQLCompiler Database layer (models, ORM)
34568 34568 1 makemigrations --update should respect the --name option. Database layer (models, ORM)
34552 34552 1 Delaying get_from_clause call as much as possible. Database layer (models, ORM)
32369 32369 2 CheckConstraints with pattern lookups and expressions as right-hand sides crash on Oracle, MySQL, and PostgreSQL. Database layer (models, ORM)
34553 34553 3 Can't create CheckConstraint with percent characters in values on postgresql due to broken quoting Database layer (models, ORM)
34546 34546 2 Failed migration yields to unmigratable app: "OperationalError: (1050, "Table '<name>' already exists")" Migrations
34525 34525 1 index_together warning after migration to new style Database layer (models, ORM)
34529 34529 1 Squashing migrations with Meta.index_together -> indexes transition should remove deprecation warnings. Migrations
34523 34523 3 Model.objects.update_or_create method sometimes raises TransactionManagementError Database layer (models, ORM)
34528 34528 1 Reduce Add/RemoveIndex migration operations. Migrations
24267 24267 1 Simplify Query.build_filter() Database layer (models, ORM)
33766 33766 4 FilteredRelation resolves its conditions too late which can result in unknown alias references at SQL compilation time Database layer (models, ORM)
34491 34491 Unable to have constraints with same name on different models Core (System checks)
34464 34464 2 QuerySet.count() regression on Django 4.2 with values() and annotate() Database layer (models, ORM)
34459 34459 1 SearchVector() can return query strings that are unsafe to combine. contrib.postgres
34458 34458 2 QuerySet.defer('user_id') raises AttributeError: 'ForeignKey' object has no attribute 'field' Database layer (models, ORM)
34434 34434 psycopg 3 cursor.execute no longer accepts Python tuple binding Database layer (models, ORM)
34450 34450 5 Lookup expressions across foreign keys introduce extra joins Database layer (models, ORM)
34437 34437 values() doesn't mention annotations as valid choices on resolving error Database layer (models, ORM)
34333 34333 2 Migrations tries to add constraint before adding a foreign key. Migrations
27397 27397 3 Querying with an integer larger than SQLite supports crashes with OverflowError Database layer (models, ORM)
34370 34370 1 IntegerField validators don't work if the database is SQLite, leading to overflow errors Database layer (models, ORM)
34368 34368 2 Subquery referencing WINDOW expression breaks query compilation Database layer (models, ORM)
34372 34372 2 Field position reference for aggregate ends up in group-by clause Database layer (models, ORM)
34366 34366 1 Migration optimizer does not reduce multiple AlterField Migrations
34358 34358 1 qs.filter(Exact(expr, value)) doesn’t work on aggregations. Database layer (models, ORM)
34346 34346 2 QuerySet ordered by annotation with name used by select_related() field crashes with AmbiguousColumn. Database layer (models, ORM)
34176 34176 2 Annotation's original field-name can clash with result field name over aggregation Database layer (models, ORM)
34250 34250 1 Duplicate model names in M2M relationship causes RenameModel migration failure Migrations
34285 34285 3 Index transforms on filtered array aggregates produces incorrect SQL query Database layer (models, ORM)
34300 34300 1 Support async generators in StreamingHttpResponse HTTP handling
34255 34255 5 Annotation/group by with an expression on psycopg3 Database layer (models, ORM)
34254 34254 5 Exists annotations can return non-boolean results (i.e. None) if used with an empty QuerySet. Database layer (models, ORM)
34293 34293 1 Extra validation introduced in 30581 breaks certain constraint setups Database layer (models, ORM)
34267 34267 1 QuerySet.union() crashes with IndexError when getting cached results. Database layer (models, ORM)
32446 32446 2 Deprecate the redundant SERIALIZE test database setting Testing framework
23842 23842 1 Transient failure of django.contrib.gis.tests.geoapp.tests.GeoQuerySetTest.test_make_line GIS
34231 34231 1 Invalid RawSQL expression on Model.validate_constraints Database layer (models, ORM)
14094 14094 1 Cannot define CharField with unlimited length Database layer (models, ORM)
34226 34226 QuerySet.select_related() with multiple filtered relations to the OneToOneField sets the last one. Database layer (models, ORM)
34207 34207 2 Incorrect SQL query when adding a ManyToMany related object with a "through" table prevents adding a new relationship if the new relationship is identical except for a different value for "through_defaults" Database layer (models, ORM)
34160 34160 3 Django 4.1 Expression contains mixed types for (Big/Small)IntegerFields. Database layer (models, ORM)
34123 34123 3 Ambiguous aliases in ordering on combined queries with select_related(). Database layer (models, ORM)
34099 34099 3 update_or_create() not saving data assigned in a model's save() method Database layer (models, ORM)
34147 34147 1 Add aall() for related managers. Database layer (models, ORM)
34149 34149 2 Postgres "ExclusionConstraint with conditions cannot be deferred." seems wrong contrib.postgres
34145 34145 2 Explicit GROUPing by aggregate is not supported Database layer (models, ORM)
34131 34131 2 Postgres AutoField change from serial to identity Database layer (models, ORM)
27849 27849 2 Add SQL 2003 FILTER syntax support with Case(When()) fallback to aggregates Database layer (models, ORM)
34137 34137 2 model.refresh_from_db() doesn't clear cached generic foreign keys contrib.contenttypes
34141 34141 1 Prefetch querysets access to parent query through table Uncategorized
34138 34138 1 Adding ManyToManyField on SQLite rebuilds table. Migrations
33768 33768 3 MySQL ordering of nulls last/first is broken in combination with UNION Database layer (models, ORM)
34122 34122 models.ForeignObject is missing documentation Documentation
34111 34111 3 Use sqlparse to format SQL in tests failures with debug flag Testing framework
34105 34105 2 Invalid query generated on Postgres when annotate and order_by have common sub-expressions Database layer (models, ORM)
34091 34091 3 Invalid SQL: FROM clauses can be omitted when QuerySet is accessed from multiple threads Database layer (models, ORM)
34079 34079 Excessive parentheses when generating a query Database layer (models, ORM)
28000 28000 3 Avoid SET/DROP DEFAULT unless a field changes from null to non-null Migrations
33992 33992 1 QuerySet.annotate() with subquery and aggregation crashes. Database layer (models, ORM)
30158 30158 9 Subquery expressions unnecessarily added to group by Database layer (models, ORM)
34024 34024 1 'WhereNode' object has no attribute 'is_summary' when counting a queryset with annotation from a subquery Database layer (models, ORM)
34015 34015 2 Registering lookups on relation fields should be supported. Database layer (models, ORM)
34016 34016 2 QuerySet.values_list() crash on simple ArrayAgg. contrib.postgres
34020 34020 1 django core management error Uncategorized
34011 34011 Implement bulk_create auto-incrementing pk assignment on MySQL when possible Database layer (models, ORM)
26780 26780 5 Prefetch objects don't work with slices Database layer (models, ORM)
21204 21204 2 Query.defer() failure - deferred columns calculated per table instead per alias Database layer (models, ORM)
33928 33928 2 Performance issues with `on_delete=models.SET_NULL` on large tables Database layer (models, ORM)
33938 33938 2 Defining the "through" model in a many-to-many field in another app causes "AttributeError: 'str' object has no attribute '_meta'" on migration Migrations
27412 27412 1 Coalesce function should work with subqueries Database layer (models, ORM)
27944 27944 1 Have meta.get_field('pk') return the primary key field directly Database layer (models, ORM)
33618 33618 3 Wrong behavior on queryset update when multiple inheritance Database layer (models, ORM)
27468 27468 1 Move utils.crypto.salted_hmac() from SHA1 toward SHA256 Utilities
32502 32502 Replace SQLite schema table rebuild by ALTER functions when supported Migrations
33506 33506 1 QuerySet.bulk_update() should perform atomic writes against routed db_for_write. Database layer (models, ORM)
14357 14357 2 Prevent inappropriate order-based grouping on values+annotate queries Database layer (models, ORM)
27437 27437 1 Can't create GinIndex on ArrayField(CITextField) contrib.postgres
27753 27753 2 Cleanups when no supported version of Django supports Python 2 anymore Utilities
27936 27936 1 Add some clarifications to "Spanning multi-valued relationships" Documentation
33366 33366 4 Migration autodetector doesn't handle placeholders in related_name for ForeignKey. Database layer (models, ORM)
27864 27864 1 Limit the number of terms in an admin search contrib.admin
33282 33282 5 django.db.utils.ProgrammingError: more than one row returned by a subquery used as an expression Database layer (models, ORM)
32690 32690 2 Q object __or__ appears to get all dunder related's default columns and queryset raises ProgrammingError. Database layer (models, ORM)
33304 33304 5 Window(order_by) should allow usage of descending string syntax to be used Database layer (models, ORM)
33288 33288 1 SQLite schema introspection should use PRAGMA instead of parsing to retrieve foreign keys Database layer (models, ORM)
33197 33197 4 Renaming field and providing prior field name to db_column should be an SQL noop Migrations
21241 21241 5 Optimize the query generated for admin changelist filters contrib.admin
26430 26430 7 Coalesce in Aggregations ignored when EmptyResultSet returned Database layer (models, ORM)
22224 22224 4 Non-nullable blank string-based model field validation doesn't prevent or clean `None` Documentation
27694 27694 Improve documentation of supported lookups on HStore & JSON fields Documentation
31395 31395 1 Make TestCase.setUpTestData enforce in-memory data isolation. Testing framework
31055 31055 4 Omits test_ prefix from database name when running subset of tests Testing framework
29899 29899 1 Adapt the auto-detector to detect changes from model states instead of model classes Migrations
32717 32717 5 Incorrect SQL generation filtering OR-combined queries Database layer (models, ORM)
32714 32714 2 Model meta ordering with nulls_last resulting in constantly needing new migrations Migrations
32657 32657 Combining an empty Q with a negated Exists un-negates the Exists lookup Database layer (models, ORM)
32632 32632 3 Query resolution can be at least 3x slower in 3.2 Database layer (models, ORM)
32650 32650 4 Cannot combine two queryset in a subquery Database layer (models, ORM)
31530 31530 Check that CheckConstraint.check and UniqueConstraint.condition don't span joins. Database layer (models, ORM)
27575 27575 2 Make host validation run on all requests HTTP handling
32494 32494 2 Admin's raw_id_field check admin.E002 doesn't catch .attname mis-references contrib.admin
31094 31094 2 Subquery uses ungrouped column "table.column" from outer query. Database layer (models, ORM)
32478 32478 2 Queryset annotation mixing aggregate and subquery doesn't GROUP BY outer column references. Database layer (models, ORM)
32395 32395 2 Migrate signals verbose stdout emissions are not capturable Migrations
32374 32374 1 Migrations are marked applied even if deferred SQL fails to execute Migrations
30988 30988 Deprecate the barely documented InvalidQuery exception. Database layer (models, ORM)
31792 31792 3 Use `EXISTS(SELECT 1 ...)` for subqueries Database layer (models, ORM)
31507 31507 1 Augment QuerySet.exists() optimizations to .union().exists(). Database layer (models, ORM)
31910 31910 3 Django geo model aggregate union fails with distinct GIS
32061 32061 1 Credential leaks on dbshell crash on MySQL and Oracle. Core (Management commands)
27257 27257 2 Use the ->> operator when filtering builtin text lookups on JSONField keys contrib.postgres
31919 31919 3 Django fails with FieldError: Expression contains mixed types: IntegerField, AutoField. You must set output_field. Database layer (models, ORM)
31965 31965 1 MySQL fast-delete optimizations introduced in Django 3.1 don't properly deal with aggregation and cause performance regression. Database layer (models, ORM)
23576 23576 2 Fast-path deletion for MySQL Database layer (models, ORM)
27719 27719 5 Add queryset.alias() to mimic .annotate() for aggregations without loading data Database layer (models, ORM)
27395 27395 1 Allow generating '<link rel="alternate ... hreflang=...>" for sitemaps' contrib.sitemaps
31770 31770 4 Enable has_select_for_update_of feature on MySQL 8.0.1+. Database layer (models, ORM)
27331 27331 1 Proposed opt_group argument for ModelChoiceField and ModelMultipleChoiceField Forms
31735 31735 2 Migration crash when adding inline foreign key to different schema on PostgreSQL. Migrations
27708 27708 1 Relation between tables in different schemas with big names Migrations
31624 31624 2 Model.objects.all().delete() subquery usage performance regression Database layer (models, ORM)
27585 27585 1 ManyToMany relationship is cascading delete after being detached Database layer (models, ORM)
31568 31568 2 Alias used in aggregate filtering is incorrect. Database layer (models, ORM)
31566 31566 4 Subquery in annotation is included by its alias and is not present in the SELECT Database layer (models, ORM)
27661 27661 Move FileSystemFinder ImproperlyConfigured errors to system checks contrib.staticfiles
27408 27408 2 Make QuerySet.bulk_create() populate fields on related models Database layer (models, ORM)
30796 30796 5 Chaining select_related mutates original QuerySet. Database layer (models, ORM)
31499 31499 1 Store ModeState.fields into a dict. Migrations
31064 31064 5 Migration doesn't detect precision changes in fields that ManyToMany points to. Migrations
31426 31426 5 Add proper field validation to QuerySet.order_by. Database layer (models, ORM)
31423 31423 1 Clarify using nested database transactions in atomic() docs. Documentation
31133 31133 2 Annotations crash with Subquery and DurationFields. Database layer (models, ORM)
27824 27824 2 Cannot chain unaccent transform with key lookup in Postgres JSON field. contrib.postgres
31376 31376 1 Avoid unnecessary null checks ordering when possible on database that don't support NULLS (FIRST|LAST). Database layer (models, ORM)
26064 26064 2 Move migration operation reduction logic to their respective class. Migrations
31312 31312 2 Wrong MySQL query generation after version 3.0.3. Database layer (models, ORM)
27370 27370 1 Django's Select widget adds a required="required" attribute, even if created with empty_label=True Forms
31071 31071 4 Change in behaviour when saving a model instance with an explcit pk value if the pk field has a default Database layer (models, ORM)
31115 31115 2 ORM generates wrong alias for subquery Database layer (models, ORM)
31109 31109 2 Multiple annotation with Subquery generates wrong SQL. Database layer (models, ORM)
30868 30868 2 ForeignKey's to_field parameter gets the old field's name when renaming a PrimaryKey. Migrations
31002 31002 3 AttributeError when using a GIS filter against a subquery annotation. GIS
27914 27914 2 makemigrations produces incorrect path for inner classes Migrations
30484 30484 4 Add conditional expression support to CheckConstraint. Database layer (models, ORM)
27272 27272 3 Add a on_delete RESTRICT handler to allow cascading deletions while protecting direct ones Database layer (models, ORM)
30759 30759 1 Make cache.delete() return whether or not it suceeded. Core (Cache system)
30865 30865 3 Document that some DATABASES['OPTIONS'] are not passed to dbshell database shell. Documentation
27808 27808 1 Nested ArrayField with nullable base field generates invalid SQL contrib.postgres
30904 30904 Document caveats of MySQL SELECT FOR UPDATE when filtering against non-indexed columns Documentation
27910 27910 3 Allow using an Enum class in model Field choices Database layer (models, ORM)
30859 30859 3 Enable the supports_aggregate_filter_clause database feature on SQLite >= 3.30.1 Database layer (models, ORM)
30867 30867 3 Old indexes should be dropped after new ones are created. Migrations
30860 30860 1 Skip OrderBy.as_sqlite on SQLite >= 3.30 Database layer (models, ORM)
30856 30856 1 Combine fast delete queries Database layer (models, ORM)
30769 30769 2 Access JSON key crashes when using annotated field from subquery. Database layer (models, ORM)
29598 29598 2 contrib.postgres.FloatRangeField should be renamed DecimalRangeField contrib.postgres
30754 30754 3 Partial indexes break future migrations in sqlite Migrations
30739 30739 2 OuterRef in exclude() or ~Q() uses wrong model. Database layer (models, ORM)
29955 29955 2 Support dwithin lookup on F expressions for distance stored in model GIS
29545 29545 3 Nested OuterRef not looking on the right model for the field. Database layer (models, ORM)
24793 24793 4 Subtracting DateTime fields in a query expression should use timediff Database layer (models, ORM)
30656 30656 The bulk_update method should be mentioned in the database access optimization section of the docs. Documentation
30494 30494 2 Problem with ExtractYear()+1 in queries Database layer (models, ORM)
30385 30385 1 SearchVector's usage of CONCAT makes it impossible to index against. contrib.postgres
30191 30191 5 Optimize .delete() to use only required fields. Database layer (models, ORM)
20010 20010 5 Tests for CaptureQueriesContext fail under Oracle Testing framework
30258 30258 3 Failed to add CheckConstraint on IntegerRangeField Database layer (models, ORM)
30189 30189 1 sqlmigrate wraps it's outpout in BEGIN/COMMIT even if the database doesn't support transactional DDL Migrations
30193 30193 1 Changes to PostgreSQL ensure_timezone caused unnecessary roundtrips to the database on connection initialization. Database layer (models, ORM)
18012 18012 8 Propagate reverse foreign keys from proxy models to base class Database layer (models, ORM)
28161 28161 3 contrib.postgres: ArrayField(CITextField) returns string instead of list contrib.postgres
30033 30033 2 SQLite schema editor should use the documented process to emulate table alterations on SQlite3. Migrations
30106 30106 Use bulk_update to perform order_with_respect to updates Database layer (models, ORM)
30120 30120 2 Query syntax error with condition and distinct combination Database layer (models, ORM)
28658 28658 3 Move DISTINCT handling to the Aggregate base class. Database layer (models, ORM)
30063 30063 1 Document that unique_together might be deprecated in favor of constraints in the future. Database layer (models, ORM)
30054 30054 3 SQLite doesn't implement cascading flush and breaks available_apps feature. Testing framework
29928 29928 4 TestCase doesn't check for foreign key constraints when using sqlite Testing framework
14204 14204 2 Take advantage of SQLite support for FK constraints Database layer (models, ORM)
30023 30023 3 SQLite schema editor can cause table corruption if used within a transaction since Django 2.0 Migrations
27867 27867 1 Excluding a reverse relation produces inconsistent queries Database layer (models, ORM)
29641 29641 1 Add support for unique constraints to Meta.constraints Database layer (models, ORM)
29945 29945 Move contrib.postgres uninstallation logic to the app config contrib.postgres
29868 29868 4 Database constraint checks are not retained on sqlite Database layer (models, ORM)
27595 27595 4 Database converters are not run for related fields referencing related fields Database layer (models, ORM)
29745 29745 6 Argument based equality check of BaseExpression causes unstable migration state Migrations
27899 27899 1 Phrase search query for Postgres full text search contrib.postgres
29755 29755 1 Infinite migrations created after removing Meta.default_related_name Migrations
24424 24424 3 Removing a model's last field results in SQL syntax error Migrations
27731 27731 1 Squashmigrations doesn't optimize AlterField related_name across AlterUniqueTogether/AlterIndexTogether Migrations
27845 27845 2 Possible Migration Optimizer Strategy Improvement Migrations
27768 27768 2 makemigrations uses unnecessary AddField for ForeignKey depending on model name Migrations
29550 29550 1 Ease overriding pickling protocol in session serialization and cache backends Core (Other)
27398 27398 1 Make SimpleTestCase.assertRedirects() URL comparison ignore ordering of query parameters Testing framework
27543 27543 1 AttributeError: '_Frame' object has no attribute 'f_back' / Django and celery error logging gone wrong Error reporting
28834 28834 1 Fields cache should attempt to follow ancestor links on lookup failures Database layer (models, ORM)
29363 29363 1 Use unittest assertWarns methods instead of warnings.catch_warnings/simplefilter/assertions in the test suite. Testing framework
27863 27863 1 Implement "SameSite" flag for session and CSRF cookies HTTP handling
29195 29195 3 Postgres Regression, annotating Exists through a OuterRef query. Database layer (models, ORM)
27267 27267 1 Renaming a primary key fails with "cannot drop constraint on table because other objects depend on it" Migrations
27985 27985 3 Converting `Foo.objects.filter(bar=None)` to an `IsNull` too early. Database layer (models, ORM)
29108 29108 1 QuerySet.distinct().order_by()[slice].count() crashes with "TypeError: can only concatenate tuple (not "list") to tuple" Database layer (models, ORM)
28974 28974 1 Model.refresh_from_db() should pass the refreshed instance as a database hint Database layer (models, ORM)
28884 28884 2 RenameField crashes with AttributeError when renaming a ManyToManyField (sqlite3) Migrations
28849 28849 1 SQLite foreign key constraints are not repointed on model or field rename Migrations
25002 25002 7 Postgresql migration fails when changing a CharField to a TimeField Migrations
28792 28792 2 Index names can be incorrectly truncated when using a namespaced table name Migrations
27458 27458 1 Oracle backend giving ORA-00911 : Invalid Character, querying with a literal "%s" Database layer (models, ORM)
27843 27843 2 M2M db table names with explicit `username` Database layer (models, ORM)
24254 24254 2 Queries using distinct() and order_by() cannot be used with the __in lookup Database layer (models, ORM)
28665 28665 2 Raise NotSupportedError instead of NotImplemented error when a per PEP 249 Database layer (models, ORM)
27979 27979 1 Using F() to save negative integers in unsigned columns on MySQL should raise IntegrityError rather than OperationalError Database layer (models, ORM)
27332 27332 1 Specifying additional ON arguments, and more flexibility with joins Database layer (models, ORM)
14370 14370 1 Adding support for Autocomplete in contrib.admin contrib.admin
27859 27859 1 Migration to create TextField with db_index=True crashes on MySQL Migrations
28381 28381 6 QuerySet.get/update_or_create() field validation prevents certain kinds of descriptor use Database layer (models, ORM)
27303 27303 2 Selecting multiple admin list_filters across relations return results that don't match both filters contrib.admin
28350 28350 2 UnboundLocalError in RenameField.state_forwards() when renaming nonexistent field Migrations
27563 27563 1 Move "Apply limit_choices_to" code from BaseModelForm to fields_for_model() Forms
25530 25530 9 Deferred SQL operations fail when a referenced table or column is renamed or deleted during the same migration Migrations
27434 27434 1 Document caveats of raising a ValidationError in Model.clean() for a field not in a model form Documentation
27639 27639 Add a chunk size argument to QuerySet.iterator() Database layer (models, ORM)
27241 27241 5 Annotate doesn't work with PostgreSQL views anymore Database layer (models, ORM)
27732 27732 1 django.contrib.postgres.search SearchRank doesn't handle SearchVectorField references contrib.postgres
27554 27554 2 Queryset evaluation fails with mix of nested and flattened prefetches (AttributeError on RelatedManager) Database layer (models, ORM)
28109 28109 1 Paginator warning about unordered object list should have the appropriate stacklevel Core (Other)
27928 27928 2 Avoid SET/DROP DEFAULT unless a field changes from null to non-null Migrations
28003 28003 2 MTI inheritance docs should describe what the automatically generated o2o looks like Documentation
27359 27359 2 Make it possible to specify a default template engine Template system
27966 27966 2 Bump required version of pyscopg2 to 2.5.4 Database layer (models, ORM)
27529 27529 1 Geographic database functions with two parameters should accept expressions in one or the other arguments GIS
27930 27930 1 The rhs attribute of the In lookup is not iterable anymore Database layer (models, ORM)
27927 27927 1 collectstatic with CachedStaticFilesStorage does not create symlinks contrib.staticfiles
27903 27903 1 RenameModel does not not change ForeignKey with related_name='+' Migrations
27892 27892 1 Add a way to specify "independent" migrations Migrations
27887 27887 1 TypeError when namespaced urlconf included from non-namespaced one Core (System checks)
27862 27862 1 Exists() feature generates invalid SQL query on postgres backend Database layer (models, ORM)
27883 27883 1 "Vertical" polymorphism of models Database layer (models, ORM)
27885 27885 1 Migration creates index of a deleted table Migrations
27875 27875 1 Manager inheritance documentation doesn't mention manager_inheritance_from_future Documentation
27856 27856 1 Date subtraction loses accuracy on PostgreSQL for differences larger than month Database layer (models, ORM)
27841 27841 1 ORM 'join on' with extra restrictions Database layer (models, ORM)
27367 27367 1 Document behaviour when several urls have the same name Documentation
27767 27767 2 Support DISTINCT queries in ArrayAgg contrib.postgres
27741 27741 1 staticfiles_tests test_corrupt_intermediate_files fails intermittently when run in parallel contrib.staticfiles
27746 27746 3 Database migration fail when removing a child model containing only foreignkeys in a multi-table inheritance context on MySQL Migrations
27632 27632 Oracle backend fails to execute a query with an aggregation that contains an expression in the GROUP BY. Database layer (models, ORM)
27744 27744 2 Complex prefetch_related broken (from 1.9 to 1.10) Database layer (models, ORM)
27297 27297 2 infinite AlterField migrations created for foreign key after case-only model name change Migrations
24109 24109 2 Provide a way to mark a migration operation as elidable when squashing Migrations
27544 27544 1 F() Expressions updating dates in .update() field fails on SQLite Database layer (models, ORM)
27709 27709 2 ContentTypes.objects.get_for_models returns inconsistent results for proxy models contrib.contenttypes
27725 27725 1 requests.post fail inside of django shell but not python shell Uncategorized
27717 27717 1 Squashmigrations doesn't optimize AlterModelOptions verbose_name_plural into CreateModel Migrations
27691 27691 1 Avoid `logger=logging.getLogger(__name__)` Uncategorized
27693 27693 2 Case insensitive lookups on JSONField nested values contrib.postgres
27698 27698 1 Add django.test.utils.ContextList.get() Testing framework
25417 25417 8 Add a system check for an invalid default on a model field Core (System checks)
27631 27631 1 Prevent execution of transactional DDL statements when unsupported. Migrations
27638 27638 1 Rollback data changes made inside templates Template system
27627 27627 1 OneToOneField doesn't allow multiple records with NULL value on Microsoft SQL Server Database layer (models, ORM)
25003 25003 1 schema.tests.SchemaTests.test_alter_implicit_id_to_explicit fails when run in isolation on MySQL Migrations
27618 27618 1 docs/intro/tutorial04.txt: Incorrect Information in Amend Views section Documentation
27310 27310 1 Refactor RenameModel.state_forwards to avoid relying on state.apps. Migrations
27581 27581 2 Second-level proxy fails to inherit reverse relation from parent proxy Database layer (models, ORM)
27579 27579 2 Alias Python 3's assertion names on Python 2 in SimpleTestCase Testing framework
27324 27324 1 Simplify get_constraints on Oracle Database layer (models, ORM)
27535 27535 1 RFE: Exclude pk from queries Database layer (models, ORM)
27536 27536 2 order_by('pk') is not obeyed if superclass has default ordering Database layer (models, ORM)
27530 27530 1 Referencing a function in a model field definition, and then removing that reference (and function) after running a migration raises an exception Uncategorized
27524 27524 1 Using user instance (instead of get_user_model()) leads to errors when user model is overridden contrib.auth
27250 27250 1 Confusing <label> assignment with CheckboxSelectMultiple Forms
27519 27519 1 Issue in Django 1.8.5 model class Database layer (models, ORM)
27511 27511 1 Docs incorrect about related_model for GenericRelation being None Documentation
27514 27514 2 Add test coverage for Model.__init__ "Number of args..." exception Database layer (models, ORM)
27407 27407 1 Model.delete(keep_parents=True) should preserve parent reverse relationships Database layer (models, ORM)
27003 27003 1 ArrayField and JSONField form fields fail on already converted values Forms
27481 27481 1 boolean annotation returns integer on SQLite Database layer (models, ORM)
27484 27484 1 ManyToMany relationship filter - delete - generate wrong sql Database layer (models, ORM)
27448 27448 1 GIS distance queries use deprecated ST_distance_sphere GIS
27443 27443 1 support executing ANALYZE on tables Database layer (models, ORM)
27414 27414 1 Document that aliasing ForeignKey fields in F expressions returns pk values, not model instances Documentation
27436 27436 3 migrations.test_commands.MakeMigrationsTests fail on Windows when run on a different drive than C: Core (Management commands)
27378 27378 2 Add UUID serialization support to migration writer Migrations
27346 27346 1 Stop setting the Content-Length header in ConditionalGetMiddleware HTTP handling
27441 27441 1 MySQL backend output for 'DROP COLUMN' uses undocumented SQL Migrations
27435 27435 3 Raise an error when using --keepdb without an explicit TEST.PASSWORD on Oracle Testing framework
27442 27442 2 count estimation on querysets Database layer (models, ORM)
27429 27429 1 had to use QuerySet.extra to do WHERE LIKE with arbitrary amount / placement of wildcard characters Database layer (models, ORM)
27424 27424 1 contenttype 0002_remove_content_type_name migration failure contrib.contenttypes
27415 27415 1 Add request.JSON or request.get_json() HTTP handling
27388 27388 2 Filter chaining results in unnecessary joins (and degenerate performance) Database layer (models, ORM)
27381 27381 1 Add a migration operation to enable to pg_prewarm extension for Postgres contrib.postgres
27343 27343 1 Different Chaining Of Qs+Filters behaves unexpectedly differently Database layer (models, ORM)
27323 27323 2 Optimize Oracle introspection by using USER_SEQUENCES instead of USER_CATALOG Database layer (models, ORM)
27330 27330 1 Generic CreateView/UpdateView doesn't send the kwargs to get_context_data Generic views
27312 27312 1 Checking raw argument to prevent signals from executing during fixture loading isn't DRY Core (Other)
27279 27279 5 Performance regression when running migrate with RenameModel operations Migrations
27217 27217 1 makemigrations crashes with "'SpatialRefSysMixin' has no attribute '_meta'" on PostGIS GIS
27288 27288 1 In multi-db setup changes written to master are not seen on read-replicas Testing framework
27268 27268 1 Regression on error message for invalid related fields lookup in QuerySet.get() Database layer (models, ORM)
27227 27227 1 Full text search by UUIDField returns DataError Database layer (models, ORM)
27159 27159 1 Pickling query with an __in=inner_qs lookup causes evaluation evaluation of inner_qs Database layer (models, ORM)
27056 27056 1 changing dim property for geometries does not generate correct migration on PostgreSQL Migrations
27232 27232 1 Regression in construct_instance for FileField's with defaults Forms
27214 27214 1 The skipIfDBFeature decorators and its variants should respect their defined wrapped order and test case inheritance. Testing framework
27209 27209 3 Cast function accepts field class according to docs but expects field instance Documentation
27208 27208 1 It does not work when using the download image ImageField via Admin since Django 1.10.1 Forms
27192 27192 1 Allow pluralizing admin URLs contrib.admin
27205 27205 2 Allow doing a substring search in JSONField array contrib.postgres
27195 27195 1 Avoid unnecessary DROP DEFAULT when adding a NULLable column. Migrations
27179 27179 3 Bug: error when trying to filter using regex/iregex on a key in a django.contrib.postgres.fields.JSONField contrib.postgres
27167 27167 1 Removing Validator callable breaks Migrations Migrations
27100 27100 2 The pre-migration state used to generate the `AppConfig` exposed through the `pre_migrate` signal should include already applied migration changes Migrations
24100 24100 4 Make `post_migrate` dispatch the migration plan. Migrations
27044 27044 5 `apps` passed to post_migrate_signal should contain migrated appconfigs even when no migration has been applied to them Migrations
27101 27101 1 args and kwargs not passed in BaseDetailView Generic views
27013 27013 2 Docs - Using Argon2 with Django - more appropriate pip command Documentation
27070 27070 1 Support for `Q` objects in `get_or_create` and `update_or_create` Database layer (models, ORM)
27038 27038 1 Migration being created even when no change was made. Migrations
27002 27002 2 Redundant database query rendering a ModelChoiceField with RadioSelect or CheckboxSelectMultiple Forms
26500 26500 2 Implement select_for_update(skip_locked=True) for Postgresql and Oracle Database layer (models, ORM)
27026 27026 1 Objects not fully configured after bulk_create. Database layer (models, ORM)
27015 27015 1 Hidden widget shouldn't have maxlength/minlength attributes Forms
27004 27004 1 InconsistentMigrationHistory has false positives with squashed migrations Migrations
27001 27001 2 Regression in query counts using RadioSelect with ModelChoiceField Forms
27000 27000 1 Django manage Command.usage() is broken Core (Management commands)
26796 26796 2 Add a check for limit_choices_to on ManyToManyField with an explicit through model Core (System checks)
26916 26916 3 Prefetch's to_attr does not write into cached_properties in 1.10 Database layer (models, ORM)
26348 26348 3 Add a __time lookup for DateTimeField Database layer (models, ORM)
26781 26781 4 SQLite crashes when changing the case of db_table Migrations
26712 26712 2 Avoid unnecessary SET TIMEZONE queries on PostgreSQL when no changes are required Database layer (models, ORM)
26646 26646 1 Add IOBase methods required by TextIOWrapper to FileProxyMixin. File uploads/storage
26647 26647 3 Post migrate signal old content type model Migrations
24067 24067 6 Renaming models prompts for content type deletions Migrations
26625 26625 1 Check that related_name doesn't contain double underscores Database layer (models, ORM)
14891 14891 1 use_for_related_fields=False is not honored by reverse FK or M2M related managers Database layer (models, ORM)
18100 18100 6 Deleting model instances with deferred fields don't trigger deletion signals Database layer (models, ORM)
26603 26603 3 Can't use lazy objects as template names with cached loader anymore Template system
26577 26577 2 Usage of `implicitly_wait` in selenium tests can slow down tests quite a bit. Testing framework
26470 26470 4 Checks performed during Permission creation should use the check framework. contrib.auth
26458 26458 2 The Avg aggregate should only automatically resolves its output field to FloatField on numeric sources Database layer (models, ORM)
26413 26413 2 Abstract model inheritance regression with string model references in 1.9 Database layer (models, ORM)
25987 25987 2 Creating new object in admin with child model inlines and unique_together raises IntegrityError Forms
26295 26295 1 LocaleMiddleware.is_language_prefix_patterns_used should be cached per urlconf. Core (URLs)
25858 25858 5 Deriving from abstract model with foreign key to model in same app broken on Django 1.9 Database layer (models, ORM)
26186 26186 6 When extending from abstract model, ForeignKey points to wrong application Database layer (models, ORM)
26286 26286 3 Content type managers instances shouldn't share their cache. contrib.contenttypes
26126 26126 Transient failure of requests.tests.RequestsTests.test_max_age_expiration Testing framework
26196 26196 2 Django 1.9 ORM generates invalid subqueries for FK fields with 'to_field' Database layer (models, ORM)
26162 26162 2 Data loss when ManyToManyField refers to the wrong table Database layer (models, ORM)
26089 26089 1 Remove auth's custom user test models (their tables aren't created since Django 1.8) contrib.auth
26135 26135 The migrate command with `--run-syncdb` crash if an application's migrations are disabled by setting MODULE_MIGRATIONS[app_label] = None Migrations
25697 25697 1 Default error views shouldn't silence TemplateDoesNotExist errors if a custom template name was specified Generic views
25746 25746 3 Isolate inlined test models Testing framework
25841 25841 4 ArrayField validation doesn't deal with its base field validation error message and params correctly. contrib.postgres
25852 25852 5 Batch migrations fail when dependent on a custom manager Migrations
25882 25882 6 Deletion on ForeignKey raises TypeError Database layer (models, ORM)
25867 25867 2 Nested ArrayField cause error in system check on 1.9 contrib.postgres
25807 25807 2 makemigrations failed when CharField has validators=[validate_slug] Migrations
25723 25723 2 Related field checks should use their model's apps to lookup related models Core (System checks)
25685 25685 4 Model.delete() issues extra queries after a deferred queryset Database layer (models, ORM)
25745 25745 6 Fix RuntimeWarnings about model reloading in test suite Core (Other)
25730 25730 4 base.Model __str__ sometimes returns unicode on Python 2 Database layer (models, ORM)
25622 25622 5 InlineAdmin raises 'GenericRel' object has no attribute 'get_related_field' contrib.admin
25563 25563 3 Deferred models should be cached in their proxied model app Database layer (models, ORM)
25560 25560 1 Empty string related name should be invalid Core (System checks)
14368 14368 1 Reverse relation attribute for OneToOneField fails when set to None Database layer (models, ORM)
25462 25462 3 Move __unicode__ documentation and its notice after __str__ Documentation
23656 23656 3 FormMixin.get_form's form_class argument should be optional Generic views
24636 24636 3 Add validator to DecimalField to ensure that it respects max_digits/decimal_places Database layer (models, ORM)
17043 17043 Model subclass field named the same as one of the parent model subclasses clashes Database layer (models, ORM)
25081 25081 4 QuerySet.get() ignores order_by in DISTINCT ON queries Database layer (models, ORM)
24652 24652 4 SimpleTestCase should prevent execution of database queries Testing framework
24654 24654 5 infinite loop caused by ordering, triggered by relational primary key construct Database layer (models, ORM)
24674 24674 2 NullBooleanField in a model is converted to NullBooleanField in a form, not CharField Documentation
24558 24558 3 django-admin.py dumpdata should be deterministic for VCS and diff friendliness Core (Management commands)
24538 24538 2 Rendering a Jinja template with a context containing 'self' fails Template system
19259 19259 4 Annotations generating inefficient SQL on PostgreSQL Database layer (models, ORM)
21794 21794 1 No warning should be raised when defining an abstract model with no app_label Database layer (models, ORM)
24266 24266 2 Change `get_parent_list` to return a list of parents ordered by __mro__ instead of a set Database layer (models, ORM)
24246 24246 Model field names, lookups and transforms should be checked for collisions. Database layer (models, ORM)
13165 13165 7 Display edit link beside add button for ForeignKey fields in admin contrib.admin
18399 18399 3 Add a `for_concrete_model` kwarg to `ContentTypeManager.get_for_models?` contrib.contenttypes
23450 23450 1 Transient failure of requests.tests.RequestsTests.test_far_expiration Testing framework
14180 14180 2 Creating redundant indexes on foreign keys for MySQL/InnoDB tables Database layer (models, ORM)
23915 23915 1 ModelAdmin.to_field_allowed doesn't take into account m2m through model with non-pk to_field contrib.admin
23862 23862 1 ManyToManyRel.get_related_field() doesn't account for defined through to_field Database layer (models, ORM)
23754 23754 4 DisallowedModelAdminToField when using get_inline_instances() contrib.admin
23863 23863 runtests should allow using the `keepdb` option. Testing framework
23839 23839 1 Regression in the admin's handling of querystring allowed fields contrib.admin
23380 23380 2 Transient failure of admin_filters.tests.ListFiltersTests.test_relatedfieldlistfilter_foreignkey contrib.admin
23329 23329 6 Regression in security patch for querystring manipulation in admin contrib.admin
23431 23431 1 Regression in security patch for _to_field param filtering in admin contrib.admin
23379 23379 3 sql_create generates incorrect SQL with synced database Database layer (models, ORM)
23375 23375 2 Missing security issues in the archive Documentation
23160 23160 3 KeyError when performing a RenameModel migration operation for a model with self-referential FK field Migrations
23113 23113 1 ChoiceInput.render() should take specified attrs into account. Forms
27 27 1 Single form field for multiple database fields Forms
22772 22772 4 django.contrib.formtools test failures on Windows due to failure to delete file that is being used by another process contrib.formtools
22659 22659 5 parent_link relationships ignored by migrations Migrations
22299 22299 1 Wizard storage should delete temp files when reset contrib.formtools
21798 21798 2 Model validation should complain if both `add_now` and `auto_add_now` are specified. Database layer (models, ORM)
22447 22447 6 Migrations have bases=(NewBase,) for models with custom metaclass Migrations
22363 22363 3 User provided one-off default date and datetime are not correctly serialized Migrations
19689 19689 6 Deprecate `Options.module_name` in favor of `model_name` Database layer (models, ORM)
21179 21179 1 How-to output CSV from Django should suggest using `StreamingHttpResponse` Documentation
21391 21391 4 Allow model signal sender to be specified lazily Database layer (models, ORM)
14825 14825 1 LocaleMiddleware should store language preferences if possible Internationalization
21217 21217 `ImageField` and `GenericForeignKey` shouldn't connect `(pre|post)_init` signals to abstract senders Database layer (models, ORM)
21216 21216 1 `OneToOneField` reverse accessor cannot be hidden. Database layer (models, ORM)
14512 14512 1 Documentation & tools for decorating class-based-views. Generic views
14786 14786 get_db_prep_lookup call get_prep_value twice for each value if prepared == False Database layer (models, ORM)
20943 20943 1 Signal receivers cache should weakly reference senders. Core (Other)
20765 20765 6 HTML5 number input type not working for DecimalField with big decimal_places Forms
20675 20675 2 `ModelBackend.authenticate` raises an assertion error when no password is specified. contrib.auth
20642 20642 2 Deprecate `Option.get_(add|change|delete)_permission`. Database layer (models, ORM)
20532 20532 1 Password reset email template should reverse view by name, not by path contrib.admin
17648 17648 10 Allow `GenericForeignKey` to retreive/store proxy model content type. contrib.contenttypes
20279 20279 5 Failure with non-standard GenericForeignKey field names contrib.contenttypes
20263 20263 2 Formset description hard to understand Documentation
20207 20207 1 `ManyToManyField` with an unicode name fails to create an intermediary model. Database layer (models, ORM)
20159 20159 1 misspeled attribute in example in Multiple databases doc section. Documentation
17818 17818 1 Generic edit generic views don't create `fail_silently` success messages anymore. Generic views
10399 10399 4 Optimise cross-table update for one-to-one fields Database layer (models, ORM)
19652 19652 2 Fix for #19524 introduced a backward compatiblity issue with related managers on 1.5.X Database layer (models, ORM)
19653 19653 1 `Manager.get_empty_query_set` should call `get_query_set` Database layer (models, ORM)
19688 19688 2 It's not possible to use `six.with_metaclass` to subclass `models.Model` with a custom metaclass. Python 3
19044 19044 3 Allow get_success_url to access self. object in DeletionMixin Generic views
19734 19734 2 missing values in DATETIME_INPUT_FORMATS docs Documentation
19639 19639 Choices in model fields best practices consistency Documentation
19632 19632 3 Sample code is wrong in page: "Using the Django authentication system" Documentation
19576 19576 2 Use `six.with_metaclass` uniformously accross code base Python 3
17683 17683 2 `BaseModelFormSet` ignore form's widgets options when adding the pk field Forms
19713 19713 1 Rename inspectdb tests model's field for clarity Testing framework
19676 19676 6 Inspectdb ForeignKey for self Uncategorized
19677 19677 SQLite can't introspect recursive fks Database layer (models, ORM)
19545 19545 3 `BaseFormSet`'s `media` and `is_multipart` don't work correctly when `extra=0` Forms
18574 18574 3 `BaseFormSet.is_valid` should call it's underlying forms' `is_valid` Forms
18722 18722 1 Admin change list sort options are unusable on sortable columns of small width contrib.admin
361 361 1 Some Basic Math Filters Template system
16479 16479 3 Forms generated from formsets use ErrorList instead of supplied error_class Forms
18675 18675 3 If-modified-since for static resources not working. HTTP handling
18751 18751 4 `BaseFormSet._should_delete_form` should use `form.cleaned_data` Forms
5524 5524 3 Cleaned form data should not be deleted if other data is invalid. Forms
18083 18083 3 Multi-table inheritance subclasses proxy deletion is broken Database layer (models, ORM)
18094 18094 3 `pre_delete` and `post_delete` signals are not correctly sent in inheritance scenarios involving proxy models Database layer (models, ORM)
18335 18335 1 Form wizard example template is missing `i18n` template tag import Documentation
17851 17851 6 Db Field instances cannot be compared to other objects Database layer (models, ORM)
17385 17385 Make sure the documentation search version field honor the browsed version. *.djangoproject.com
17898 17898 1 The database option is not honored when `createsuperuser` is called by `syncdb` contrib.auth
16946 16946 3 core.files.File assumes name attribute on file-like objects Core (Other)
17219 17219 2 Add a more precise description to some db fields. Translations
17639 17639 3 r17434 fixing #17594 is missing a with_statement import for python 2.5 Uncategorized
16477 16477 "dumpdata" --help for the --database option is wrong Core (Management commands)
16482 16482 16545 security doc grammar fix introduced a typo Documentation
16354 16354 Small typo in signing docs Documentation
15524 15524 Localize EMPTY_CHANGELIST_VALUE Internationalization
14101 14101 2 Localized DecimalField doesn't accept localized input Internationalization