summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2015-08-29Fixed #25262 -- Removed the enable_comments field from FlatPageAdmin.Y3K
2015-08-28Fixed #17375 -- Changed makemessages to use xgettext with --files-fromSergey Kolosov
Changed the way makemessages invokes xgettext from one call per translatable file to one call per locale directory (using --files-from). This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and, as a positive side effect, speeds up localization build.
2015-08-28Fixed #25323 -- Fixed selenium test failures with chromedriver 2.18.Tim Graham
2015-08-28Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.Tim Graham
Previously, messages of ERROR level or higher were printed to the console.
2015-08-28Fixed #25322 -- Lazily compiled core.validators regular expressions.Jonas Haag
This speeds up import of 'django.core.validators' which can save a few hundred milliseconds when importing the module for the first time. It can be a significant speedup to the django-admin command.
2015-08-28Fixed #25299 -- Fixed crash with ModelAdmin.list_display value that clashes ↵Tim Graham
with a model reverse accessor.
2015-08-27Fixed #20597 -- Replaced admin GIF/PNG icons by SVGelky
2015-08-27Fixed #22634 -- Made the database-backed session backends more extensible.Sergey Kolosov
Introduced an AbstractBaseSession model and hooks providing the option of overriding the model class used by the session store and the session store class used by the model.
2015-08-27Fixed #24201 -- Added order_with_respect_to support to GenericForeignKey.Alex Hill
2015-08-27Fixed #24590 -- Cached calls to swappable_setting.Markus Holtermann
Moved the lookup in Field.swappable_setting to Apps, and added an lru_cache to cache the results. Refs #24743 Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric Augustin and Tim Graham for the review.
2015-08-27Fixed #25280 -- Properly checked regex objects for equality to prevent ↵Markus Holtermann
infinite migrations Thanks Sayid Munawar and Tim Graham for the report, investigation and review.
2015-08-26Fixed #25308 -- Made MigrationQuestioner respect MIGRATION_MODULES setting.Jeremy Satterfield
2015-08-25Fixed #14217 -- Added validation for field name collision when using model ↵sarthakmeh
inheritance.
2015-08-25Fixed #25295 -- Restored 'no active translation' after language overrideClaude Paroz
Thanks David Nelson Adamec for the report and Tim Graham for the review.
2015-08-24Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware from reporting 404s ↵Maxime Lorant
when Referer = URL.
2015-08-24Fixed #23727 -- Inhibited the post_migrate signal when using ↵Tommy Beadle
serialized_rollback. When using a TransactionTestCase with serialized_rollback=True, after creating the database and running its migrations (along with emitting the post_migrate signal), the contents of the database are serialized to _test_serialized_contents. After the first test case, _fixture_teardown() would flush the tables but then the post_migrate signal would be emitted and new rows (with new PKs) would be created in the django_content_type table. Then in any subsequent test cases in a suite, _fixture_setup() attempts to deserialize the content of _test_serialized_contents, but these rows are identical to the rows already in the database except for their PKs. This causes an IntegrityError due to the unique constraint in the django_content_type table. This change made it so that in the above scenario the post_migrate signal is not emitted after flushing the tables, since it will be repopulated during fixture_setup().
2015-08-24Fixed #25047 -- Improved "Conflicting migrations" error message.Tim Graham
2015-08-21Removed BaseForm._raw_value().Tim Graham
Unused since efb0100ee67931329f17bc9988ecd5f0619cea14.
2015-08-20Fixed #24951 -- Fixed AssertionError in delete queries involving a ↵Tim Graham
foreign/primary key. Thanks Anssi Kääriäinen for help.
2015-08-19Refs #12400 -- Added supports_geometry_field_unique_index GIS db feature.Jani Tiainen
2015-08-19Fixed #25285 -- Provided unknown command message with plain django-admin.pyClaude Paroz
Thanks Maxime Lorant for the report and Tim Graham for suggesting the improved comment.
2015-08-18Fixed #25225 -- Simplified code to remove GEOSIndexErrorTim Graham
The test is a regression for refs #4740 to show that the original fix of GEOSIndexError is no longer needed.
2015-08-18Corrected inconsistent indentation in ↵Pedro Maltez
django/contrib/admin/static/admin/js/urlify.js.
2015-08-18Fixed typo in django/contrib/admin/static/admin/js/urlify.js.Pedro Maltez
2015-08-18Fixed DoS possiblity in contrib.auth.views.logout()Tim Graham
Thanks Florian Apolloner and Carl Meyer for review. This is a security fix.
2015-08-18Fixed #24755 -- Hid operations from dependency apps when merging migrationsMarkus Holtermann
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-08-15Fixed #25180 -- Prevented varchar_patterns_ops and text_patterns_ops indexes ↵Caio Ariede
for ArrayField.
2015-08-15Fixed #24935 -- Refactored common conditional GET handling.Denis Cornehl
2015-08-15Fixed #24986 -- Added support for annotations in DISTINCT queries.Valentina Mukhamedzhanova
2015-08-15Fixed #25064 -- Allowed empty join columns.Alex Hill
2015-08-14Made Options.get_base_chain() always return a list.Valentina Mukhamedzhanova
2015-08-14Fixed #25239 -- Corrected makemigrations numbering if a migration has a ↵Caio Ariede
number-only filename.
2015-08-13Fixed #25267 -- Corrected message for admin.E122 system check.Fabrizio Ettore Messina
2015-08-12Fixed #25172 -- Fixed check framework to work with multiple databases.Ion Scerbatiuc
2015-08-12Fixed #25254 -- Added JsonResponse json_dumps_params parameter.Sambhav Satija
2015-08-12Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck
Refactored tests to use a sample project. Updated extraction: * Removed special handling of single percent signs. * When extracting messages from template text, doubled all percent signs so they are not interpreted by gettext as string format flags. All strings extracted by gettext, if containing a percent sign, will now be labeled "#, python-format". Updated translation: * Used "%%" for "%" in template text before calling gettext. * Updated {% trans %} rendering to restore "%" from "%%".
2015-08-11Fixed #25163 -- Fixed exception handling in nested test client requests.pscottdevos
2015-08-10Removed deprecated GeoManager from inspectdb/ogrinspect output.Tim Graham
refs ea27e26b0907e74ab8d6c46a9694775a310fdc67
2015-08-10Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
2015-08-08Refs #25236 -- Removed ifequal/ifnotequal usage.Tim Graham
2015-08-08Updated Wikipedia links to use httpsClaude Paroz
2015-08-07Fixed #25231 -- Added recording of squashed migrations in the migrate command.mlavin
Ensured squashed migrations are recorded as applied when the migrate command is run and all of the original migrations have been previously applied.
2015-08-07Fixed #25233 -- Fixed HStoreField.has_changed() handling of initial values.Tim Graham
Thanks Simon Charette for review.
2015-08-07Refs #25163 -- Added trimmed option to recent blocktrans additionClaude Paroz
2015-08-07Refs #25175 -- Added backwards compatibility for importing ↵Caio Ariede
postgresql_psycopg2 backend.
2015-08-07Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede
2015-08-07Removed forms.models.save_instance() function.Tim Graham
As of b11564fd36587b1077bf7d77b62b7879cc08c382 it's no longer used elsewhere in Django and it isn't a documented public API. Thanks Simon Charette for review.
2015-08-07Fixed #25241 -- Corrected ModelForm.save() error message when saving invalid ↵Tim Graham
form with UUIDField pk.
2015-08-05Fixed #25226 -- Set the model attribute on ArrayField's base_fieldIon Scerbatiuc
2015-08-05Fixed #22404 -- Added a view that exposes i18n catalog as a JSONSergey Kolosov
Added django.views.i18n.json_catalog() view, which returns a JSON response containing translations, formats, and a plural expression for the specified language.