David Sanders
(shangxiao)
Most Active Role
Reporter
Most Active Component
Database Layer (Models, Orm)
Activity Timeline
Components
Tickets
Trac | Ticket (160) | Reporter (12) | Owner (28) | Commenter (313) | Summary | Component |
---|---|---|---|---|---|---|
34699 | 34699 | Filtering on annotated TruncSecond expression gives unexpected result. | Database layer (models, ORM) | |||
25251 | 25251 | ✅ | 2 | Inconsistent availability of data from migrations in TestCases when using --keepdb | Testing framework | |
34871 | 34871 | 3 | Validation of UniqueConstraint with Case() crashes. | Database layer (models, ORM) | ||
373 | 373 | Add support for multi-column primary keys. | Database layer (models, ORM) | |||
470 | 470 | 2 | Add Field.db_default for defining database defaults | Database layer (models, ORM) | ||
34060 | 34060 | 1 | Creating CheckConstraint on JSONField with __exact lookup on key transforms crashes on Oracle. | Database layer (models, ORM) | ||
34462 | 34462 | 2 | Deletions in admin panel create N + 1 queries | contrib.admin | ||
34856 | 34856 | 2 | Running tests with historical migrations that contain index together fails with TypeError. | Migrations | ||
34533 | 34533 | 2 | OuterRef not resolved as part of ORDER BY clause | Database layer (models, ORM) | ||
34479 | 34479 | 2 | Support "watchfiles" in the autoreloader | Utilities | ||
34643 | 34643 | 1 | Move admin form labels to a more accessible place | contrib.admin | ||
34118 | 34118 | 2 | Python 3.12 compatibility | Core (Other) | ||
35334 | 35334 | ✅ | 1 | Update Oracle backend supports_sequence_reset = True | Database layer (models, ORM) | |
34846 | 34846 | 3 | Add "Copy" button to the code snippets in docs. | Documentation | ||
34789 | 34789 | 2 | `filter_horizontal` duplicates entries in "Chosen" column after instance is added via in another field using the "plus" JS action | contrib.admin | ||
34538 | 34538 | 2 | Incorrect query generated with on subquery WHERE depending on the order of the Q() objects | Database layer (models, ORM) | ||
34007 | 34007 | ✅ | ✅ | 2 | Single-field conditional UniqueContraint validation errors are classified as non-field-errors | Database layer (models, ORM) |
34925 | 34925 | 3 | refresh_from_db() will not iterate through all of the fields listed in the 'fields' parameter. | Database layer (models, ORM) | ||
35346 | 35346 | ✅ | Running migrations with Oracle 23c Version 23.3.0.23.09 causes ORA-00600 error | Database layer (models, ORM) | ||
34841 | 34841 | ✅ | ✅ | 1 | Reverse migrations model state rendering slow with moderate to large migrations | Migrations |
34059 | 34059 | ✅ | 4 | Validation of check constraints on JSONField key transforms with None produces invalid SQL on PostgreSQL. | Database layer (models, ORM) | |
33996 | 33996 | ✅ | 3 | Inconsistent behavior of CheckConstraints validation on None values. | Database layer (models, ORM) | |
34964 | 34964 | 2 | Reversing the order of Q objects in a CheckConstraint generates a migration | Migrations | ||
34806 | 34806 | 2 | Make cached_db backend resilient to cache backend errors | contrib.sessions | ||
35179 | 35179 | ✅ | 2 | Admindocs does not recognize methods containing positional-only arguments or keyword-only arguments as such | contrib.admindocs | |
35175 | 35175 | ✅ | 2 | Migration Operation CreateCollation kwargs are truncated when used with makemigrations --update | Migrations | |
34534 | 34534 | ✅ | 2 | Reduce index/constraints operations. | Migrations | |
34597 | 34597 | 4 | Queryset (split) exclude's usage of Exists is significantly slower than subquery | Database layer (models, ORM) | ||
35149 | 35149 | ✅ | 3 | JSONField db_default requires wrapping values in json.dumps() | Database layer (models, ORM) | |
34936 | 34936 | ✅ | 2 | db_default with decimal.Decimal() crashes on SQLite. | Database layer (models, ORM) | |
34949 | 34949 | 2 | Clarify when unique constraints are ignored. | Documentation | ||
27813 | 27813 | BinaryField type inconsistent between sqlite3 (bytes) and postgresql (memoryview) | Database layer (models, ORM) | |||
34593 | 34593 | 1 | Django admin list does same Count query twice when there are no filters | contrib.admin | ||
34633 | 34633 | 1 | Add prefetch_related() cache invalidation for create() in reverse many-to-one managers. | Database layer (models, ORM) | ||
34978 | 34978 | 2 | Annotating through an aggregate with RawSQL() raises 1056 "Can't group on" on MySQL/MariaDB. | Database layer (models, ORM) | ||
34992 | 34992 | 1 | MariaDB does not support functional group by dependencies | Database layer (models, ORM) | ||
34988 | 34988 | 2 | Makemigrations shouldn't prompt for default values for non-nullable fields of other apps. | Migrations | ||
34987 | 34987 | 1 | "Expression contains mixed types" exception when performing window function on query that also has aggregates. | Database layer (models, ORM) | ||
34984 | 34984 | 4 | Adding a field with default crashes for models with GeneratedField on SQLite. | 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) | ||
34974 | 34974 | 3 | makemigrations --check does not show diff as documented | Uncategorized | ||
34970 | 34970 | 1 | Unclear wording in password validator docs | Documentation | ||
34944 | 34944 | 2 | Missing or misinferred attributes in output fields of generated fields | Database layer (models, ORM) | ||
34955 | 34955 | 2 | Make Concat() use the database operator `||` on PostgreSQL. | Database layer (models, ORM) | ||
34967 | 34967 | ✅ | 4 | 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 | ||
34959 | 34959 | 1 | Q(a=b) and Exact(a, b) handle NULLs differently | Database layer (models, ORM) | ||
34962 | 34962 | 1 | Support for overriding result of model field values | Database layer (models, ORM) | ||
34457 | 34457 | ✅ | 2 | makemigrations --check no longer prints the changes | Migrations | |
34947 | 34947 | 1 | assertContains fails when there is unicode in the response json | Testing framework | ||
34945 | 34945 | 2 | annotate -> union -> values gives wrong values | Database layer (models, ORM) | ||
34940 | 34940 | 2 | Filter queryset on "tuples" of values for multiple columns | Database layer (models, ORM) | ||
34942 | 34942 | 1 | Add icontains support for PostgreSQL ArrayField | Database layer (models, ORM) | ||
34939 | 34939 | 2 | Widget templates not refreshing | Forms | ||
34903 | 34903 | ✅ | 2 | Parallel test runner failure on Windows | Testing framework | |
34825 | 34825 | ✅ | 5 | SQLite database files are not destroyed after tests | Testing framework | |
34921 | 34921 | ✅ | ✅ | 2 | Filtering an unbound DateTimeField with naive date crashes | Database layer (models, ORM) |
34922 | 34922 | 1 | Add dynamic HTML/CSS classes to table row elements in admin changelist view | contrib.admin | ||
34808 | 34808 | 3 | Some aggregation functions may return None; this isn't well documented | Documentation | ||
34890 | 34890 | 1 | Migration can produce duplicate entries of UUID4 values for unique fields | Database layer (models, ORM) | ||
34880 | 34880 | 1 | Required a post_save_action hook to perform additional action in admin. | contrib.admin | ||
34849 | 34849 | ✅ | 4 | Appending django.contrib.postgres to the INSTALLED_APPS via @modify_settings crashes. | Database layer (models, ORM) | |
34859 | 34859 | 2 | Format SQL code prodcued by sqlmigrate | Migrations | ||
34862 | 34862 | ✅ | 4 | For clarity, the `password_reset_email.html` template should have `.txt` extension | contrib.auth | |
34860 | 34860 | 2 | Order_by is broken when sorting on an annotated postgres window function value | Database layer (models, ORM) | ||
34851 | 34851 | 1 | Drop support for PostgreSQL 12 and PostGIS 2.5 | Database layer (models, ORM) | ||
34850 | 34850 | 1 | Drop support for MariaDB 10.4. | Database layer (models, ORM) | ||
34845 | 34845 | 5 | Slow query when using exclude | Database layer (models, ORM) | ||
34847 | 34847 | 4 | Serializer infinite recursion on M2M field if reference vars in init | Core (Serialization) | ||
34843 | 34843 | 1 | Feature request: Support postgres table storage options | Migrations | ||
34837 | 34837 | 1 | CheckboxSelectMultiple.attrs should accept more than "id" and "class" | Template system | ||
34828 | 34828 | 3 | DateTimeField breaks when given datetime that would be invalid in UTC | Database layer (models, ORM) | ||
34642 | 34642 | 1 | File.open to support different encodings | Core (Other) | ||
34826 | 34826 | 1 | Bounded Integer Range Field For Forms | Forms | ||
34812 | 34812 | 2 | Validate that URLConf modules contain a urlpatterns entry | Core (URLs) | ||
34811 | 34811 | 1 | Queryset filter Q order changed | Database layer (models, ORM) | ||
34803 | 34803 | 2 | Nested OuterRef crashes with AttributeError | Database layer (models, ORM) | ||
34801 | 34801 | 3 | Django project redirects for a user assigned in a group, it redirects to the url which is not present in the group assigned django app | HTTP handling | ||
34800 | 34800 | 1 | Django Management Command Triggers URLs When Checking Database Connection | Core (Management commands) | ||
34744 | 34744 | ✅ | 2 | Migration re-add constraints when check condition contains a dict_keys object. | Migrations | |
34790 | 34790 | 1 | loading old migration file | Migrations | ||
34716 | 34716 | 2 | Class methods from nested classes cannot be used as Field.default. | Migrations | ||
34711 | 34711 | 2 | Make ChoiceField auto-detect and coerce values. | Forms | ||
34710 | 34710 | 1 | Infinite migrations using models.Choices | Migrations | ||
34707 | 34707 | 1 | AttributeError: 'function' object has no attribute 'cache_clear' when registering a custom lookup | Uncategorized | ||
34309 | 34309 | Documentate how to delete a Django app correctly | Documentation | |||
27646 | 27646 | 1 | Add QuerySet support for group by modifiers and OLAP functionality | Database layer (models, ORM) | ||
34632 | 34632 | 2 | Let makemigrations output an error message with --check | Migrations | ||
34634 | 34634 | 1 | Creating objects with nested MTI crashes. | Database layer (models, ORM) | ||
34664 | 34664 | 1 | APScheduler Django | Packaging | ||
34653 | 34653 | 1 | Django (4.2.2) doesn't handle unicode characters in labels of choices | Migrations | ||
34638 | 34638 | 3 | Rows are selected if BooleanField is in list_editable | contrib.admin | ||
34631 | 34631 | 1 | Expression.identity() performance | Database layer (models, ORM) | ||
34445 | 34445 | ✅ | 3 | DateField.input_formats cannot be printed | Utilities | |
34630 | 34630 | 1 | Neither `pgettext` nor `pgettext_lazy` return contextual markers in PO files | Internationalization | ||
34635 | 34635 | 1 | ModelChoiceField with a to_attr that can have an EMPTY_VALUE | Forms | ||
34601 | 34601 | 1 | ModelAdmin: Error message for readonly_fields's check does not include the field name | contrib.admin | ||
34615 | 34615 | 1 | queryset.order_by().first() is not consistent with other queryset behaviours | Database layer (models, ORM) | ||
34599 | 34599 | 1 | authentication and authorization | Uncategorized | ||
34564 | 34564 | 1 | returning None instead of zero in Count annotation | Database layer (models, ORM) | ||
34535 | 34535 | 2 | dbshell management command can crash if DATABASES["name"] is a PosixPath | Core (Management commands) | ||
34590 | 34590 | ✅ | 5 | Querying for decimals larger than max_digits crashes on SQLite | Database layer (models, ORM) | |
34589 | 34589 | 3 | exclude does not support nested ForeignKey relationship | Database layer (models, ORM) | ||
34587 | 34587 | 1 | Allow to override table2model conversion for inspectdb command | Core (Management commands) | ||
34576 | 34576 | 1 | move django issues to GitHub | Uncategorized | ||
34568 | 34568 | ✅ | 6 | makemigrations --update should respect the --name option. | Database layer (models, ORM) | |
34558 | 34558 | 1 | QuerySet.bulk_create() crashes with Now() on Oracle. | Database layer (models, ORM) | ||
34553 | 34553 | 2 | Can't create CheckConstraint with percent characters in values on postgresql due to broken quoting | Database layer (models, ORM) | ||
34554 | 34554 | 1 | Reverse(Value(...)) crashes on Oracle. | Database layer (models, ORM) | ||
32827 | 32827 | ✅ | 4 | Squashing migrations isn't very effective in complicated projects; rewrite docs to provide a preferred manual trimming process | Documentation | |
34546 | 34546 | 1 | Failed migration yields to unmigratable app: "OperationalError: (1050, "Table '<name>' already exists")" | Migrations | ||
34548 | 34548 | 1 | Queryset JsonField filtering doesn't work as expected | Database layer (models, ORM) | ||
34536 | 34536 | 1 | FileInputUpload | File uploads/storage | ||
34523 | 34523 | 3 | Model.objects.update_or_create method sometimes raises TransactionManagementError | Database layer (models, ORM) | ||
34530 | 34530 | 3 | Remove docs suggestion to use lambda for models.FileField(storage=...) | Documentation | ||
34515 | 34515 | 1 | Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used. | Internationalization | ||
34513 | 34513 | 4 | Error E108 does not cover some cases | contrib.admin | ||
34069 | 34069 | 1 | get_language_from_request should not fallback to settings.LANGUAGE_CODE | Internationalization | ||
34527 | 34527 | 2 | Unexpected behavior with division in aggregation | Database layer (models, ORM) | ||
34520 | 34520 | 1 | ModelAdmin.fields: wrapping in tuples does not have any effect (each field on separate line) | contrib.admin | ||
34386 | 34386 | 1 | Error while sending TLS smtp email when no EMAIL_SSL_CERTFILE / EMAIL_SSL_KEYFILE are specified in project settings | Core (Mail) | ||
34526 | 34526 | 1 | issue in admin with sites | contrib.admin | ||
34519 | 34519 | 1 | Don't send content in responses to HEAD requests | Uncategorized | ||
34518 | 34518 | ✅ | 2 | "random" template filter crashes on an empty list. | Template system | |
34512 | 34512 | 4 | Admin missing breadcrumbs in app index | contrib.admin | ||
34516 | 34516 | 1 | request.post is null | Uncategorized | ||
34511 | 34511 | 1 | mysqlclient 1.4.3 or newer is required; you have 1.0.3. | Core (Other) | ||
34510 | 34510 | 2 | sqlmigrate does not follows replaces in squashed migrations | Core (Management commands) | ||
34440 | 34440 | ✅ | 4 | AND operator on queryset with joins gives wrong results | Documentation | |
34503 | 34503 | 1 | Missleading message in MinValueValidator and MaxValueValidator | Core (Serialization) | ||
34497 | 34497 | 1 | ManifestStaticFilesStorage skips import and export of javascript modules with absolute paths | contrib.staticfiles | ||
34459 | 34459 | 2 | SearchVector() can return query strings that are unsafe to combine. | contrib.postgres | ||
34028 | 34028 | 1 | Django 'static' template tag fails to generate URLs with SCRIPT_NAME prefix | Template system | ||
34461 | 34461 | Constructing urls outside the request cycle | Core (Other) | |||
34460 | 34460 | 1 | Replace Flake8 by Ruff | Utilities | ||
34458 | 34458 | 1 | QuerySet.defer('user_id') raises AttributeError: 'ForeignKey' object has no attribute 'field' | Database layer (models, ORM) | ||
34450 | 34450 | 6 | Lookup expressions across foreign keys introduce extra joins | Database layer (models, ORM) | ||
34449 | 34449 | 3 | ProgrammingError: non-integer constant in GROUP BY with Case When and annotate Count | Database layer (models, ORM) | ||
34427 | 34427 | ✅ | 2 | Improve error message for incorrect context processors | Template system | |
34176 | 34176 | Annotation's original field-name can clash with result field name over aggregation | Database layer (models, ORM) | |||
34172 | 34172 | 1 | Documentation of AdminSite.get_urls() encourages security vulnerabilities | contrib.admin | ||
34199 | 34199 | 1 | Add an example for contrib.postgres.aggregates.StringAgg to docs. | Documentation | ||
34119 | 34119 | ✅ | 4 | ModelForm fields with callable defaults don't correctly propagate default values | Forms | |
34103 | 34103 | ✅ | 6 | Queries with duplicate params incorrectly logged for Oracle | Database layer (models, ORM) | |
34123 | 34123 | ✅ | 5 | Ambiguous aliases in ordering on combined queries with select_related(). | Database layer (models, ORM) | |
34080 | 34080 | 5 | __exact lookup on nested arrays with None values fails on PostgreSQL. | contrib.postgres | ||
34129 | 34129 | 1 | Admin list_editable failed to edit | contrib.admin | ||
34035 | 34035 | 1 | ImageField doesn't consider EXIF rotation when storing width and height | Database layer (models, ORM) | ||
34122 | 34122 | 1 | models.ForeignObject is missing documentation | Documentation | ||
34066 | 34066 | 3 | Accessing UserAdmin via to_field leads to link to PasswordResetForm being broken (404) | contrib.auth | ||
34106 | 34106 | 2 | Allow LogoutView to render a confirmation template on a GET request (Like LoginView) | contrib.auth | ||
34068 | 34068 | 1 | `runserver 0`'s "Starting development server at <address>" doesn't work | Core (Management commands) | ||
34012 | 34012 | ✅ | 4 | QuerySet.order_by() silently skips non-existing fields on related fields with Meta.ordering. | Database layer (models, ORM) | |
34025 | 34025 | ✅ | 7 | Autocomplete field fills all empty required fields references to the same model when added a choice in popup. | contrib.admin | |
34050 | 34050 | 2 | Generated migration file is not detected by django because of the name of newly generated migration file | Migrations | ||
34027 | 34027 | ✅ | 3 | Changing CharField type referenced by ForeignKey crashes on PostgreSQL. | Migrations | |
34024 | 34024 | ✅ | 3 | 'WhereNode' object has no attribute 'is_summary' when counting a queryset with annotation from a subquery | Database layer (models, ORM) | |
33905 | 33905 | ✅ | ✅ | 3 | Validation of check constraints against ranges involving PostgreSQL's lower()/upper() functions produces invalid SQL. | contrib.postgres |
32932 | 32932 | ✅ | Unique indexes | Database layer (models, ORM) | ||
27741 | 27741 | staticfiles_tests test_corrupt_intermediate_files fails intermittently when run in parallel | contrib.staticfiles |