1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +00:00
Commit Graph

21957 Commits

Author SHA1 Message Date
Tim Graham
c432dd40bd Refs #25995 -- Documented that JSONField doesn't handle sophisticated serialization. 2016-01-08 19:00:56 -05:00
Alexander Gaevsky
5052f79df4 Added a test for adding a UUID pk object using the "Add related" admin popup.
Follow up to refs #25997 but this case wasn't broken.
2016-01-08 18:49:03 -05:00
Thomas Grainger
cbaa3ee3ee Refs #25165 -- Removed unnecessary HTML unescaping in admin add/edit popups.
Because we now load data into the page via JSON, we don't need to
unescape it anymore.
2016-01-08 18:24:04 -05:00
Collin Anderson
780bddf75b Fixed #20846 -- Decreased User.username max_length to 150 characters. 2016-01-08 18:06:44 -05:00
Alexander Gaevsky
ea7542891a Refs #24980 -- Fixed incorrect timezone handling in admin calendar widget. 2016-01-08 17:21:47 -05:00
Claude Paroz
7b8d2dcd75 Updated contrib.admin translations for new tests 2016-01-08 20:34:59 +01:00
Claude Paroz
cf7894be88 Fixed #21113 -- Made LogEntry.change_message language independent
Thanks Tim Graham for the review.
2016-01-08 20:34:59 +01:00
Tim Graham
56aaae58a7 Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on Char/TextField with unique=True and db_index=True.
Thanks Simon Charette for review.
2016-01-08 12:47:05 -05:00
Tim Graham
54d3ba8406 Added a helper function in schema tests. 2016-01-08 12:39:06 -05:00
Alexander Gaevsky
ade54ffa34 Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x
(refs #25997).
2016-01-08 12:28:32 -05:00
Tim Graham
822a03b3e4 Refs #25165 -- Fixed failure of admin's "Add another" popup to close.
Thanks Thomas Grainger for the fix.
2016-01-08 11:41:01 -05:00
Tim Graham
db8f462494 Fixed #26055 -- Removed an orphaned phrase in docs/howto/deployment/wsgi/modwsgi.txt. 2016-01-08 09:36:58 -05:00
Tim Graham
59ef6559a3 Reverted #25961 -- Removed handling of thread-non-safe GEOS functions.
This reverts commit 312fc1af7b as it seems
to cause segmentation faults as described in the ticket.
2016-01-07 18:54:41 -05:00
wingston sharon
7f218d9891 Fixed #25928 -- Clarified precendence of USE_THOUSAND_SEPARATOR and locale formats. 2016-01-07 14:32:18 -05:00
Simon Charette
56c461a0d7 Fixed #26038 -- Changed FileSystemStorage defaults on setting change.
Thanks to Dave Voutila for the report and Tim for the review.
2016-01-07 12:04:39 -05:00
Alasdair Nicol
6ea7b6776c Refs #24855 -- fixed typo in 1.10 release notes 2016-01-07 11:38:47 -05:00
Alexander Gaevsky
44930cc466 Fixed #24980 -- Fixed day determination in admin calendar widget. 2016-01-07 11:13:05 -05:00
Anderson Resende
b5f8c81ce1 Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet. 2016-01-07 10:57:05 -05:00
Paulo Poiati
b643386668 Fixed #24855 -- Allowed using contrib.auth.login() without credentials.
Added an optional `backend` argument to login().
2016-01-07 08:56:07 -05:00
Amos Onn
bd3c2900fc Fixed #25892 -- Optimized SeparateDatabaseAndState.database_backwards().
Now intermediate states in the database_backwards are cached, similar to
the executor's migrate() (or _migrate_all_backwards()). This makes the
migration run much faster (O(n) instead of O(n^2) over number of
database_operations).
2016-01-07 08:13:56 -05:00
Simon Charette
5ccb7f5f22 Used setupTestData in m2m_through tests. 2016-01-06 21:24:07 -05:00
Simon Charette
7b8e4545c3 Refs #8548 -- Removed a workaround for lengthy verbose name. 2016-01-06 20:35:47 -05:00
Simon Charette
4ccf7154c3 Unified test context decorators.
Thanks to Tim for the review.
2016-01-06 20:00:07 -05:00
Simon Charette
a08fda2111 Fixed #25746 -- Isolated inlined test models registration.
Thanks to Tim for the review.
2016-01-06 20:00:07 -05:00
Simon Charette
3096f4b082 Imported required models directly in auth management tests. 2016-01-06 20:00:07 -05:00
Simon Charette
7bb373e309 Refs #25746 -- Added a test utility to isolate inlined model registration.
Thanks to Tim for the review.
2016-01-06 20:00:07 -05:00
Tim Graham
b2cddeaaf4 Refs #26048 -- Fixed a flaky i18n selenium test: test_javascript_gettext. 2016-01-06 19:53:15 -05:00
Niels Van Och
7f7553dd30 Fixed #25680 -- Added django-admin shell --command option.
Add a -c option to the shell command to execute a command passed as a
string as Django.
2016-01-06 18:43:41 -05:00
elky
0cc32a8f97 Refs #22955 -- Added test for admin's many-to-many widget refresh data loss bug.
This was fixed by 4a438e400b.
2016-01-06 18:31:55 -05:00
Grégory Starck
9f9921e89c Fixed #26039 -- Unwrapped nested partials in URL reversal.
Prior to Python 3.5 nested partials need to be fully "unfolded"
to get the actual function.
2016-01-06 15:22:37 -05:00
Claude Paroz
632a9f21bc Fixed #26046 -- Fixed a crash with translations and Django-unknown language code
Thanks Jens Lundstrom for the report and Tim Graham for the review.
2016-01-06 20:30:56 +01:00
Scott Pashley
7cc2efc2d6 Fixed #26035 -- Prevented user-tools from appearing on admin logout page. 2016-01-06 13:48:02 -05:00
Tim Graham
62e83c71d2 Refs #25878 -- Added the expected return type of CSRF_FAILURE_VIEW. 2016-01-06 07:05:05 -05:00
Tim Graham
1e57dccb31 Added stub release notes for 1.8.9. 2016-01-05 13:19:20 -05:00
Benjamin Bach
8ad18103a1 Replaced dict.setdefault() usage to avoid unnecessary object instantiations. 2016-01-05 13:06:23 -05:00
Tim Graham
2765adc8dc Skipped a dateformat test on Windows as needed.
Refs 1014ba026e
2016-01-05 12:46:45 -05:00
Tim Graham
49eeb0f570 Fixed #25878 -- Documented requirement that handler404 return a 404 response. 2016-01-05 11:23:13 -05:00
Denis Cornehl
186b6c61bf Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.
Thanks Denis Cornehl for help with the patch.
2016-01-05 09:37:11 -05:00
Andrew Kuchev
d5b90c8e12 Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.
Thanks to mpasternak for the report and Tim Graham for the review.
2016-01-04 19:39:35 -05:00
Tim Graham
2c6c873e3f Fixed #26009 -- Fixed contenttypes_tests isolation. 2016-01-04 11:45:26 -05:00
Tim Graham
b07f91600d Fixed #26032 -- Moved "project root directory" to a separate paragraph. 2016-01-04 10:52:20 -05:00
Jarek Glowacki
d8b651a544 Added missing step to transitioning squashed migrations. 2016-01-04 10:35:45 -05:00
James Bennett
6a298b220a Update my location and current status in Django team docs. 2016-01-03 11:59:41 -06:00
Aymeric Augustin
91bf44afb3 Removed $PREVIOUS_EMPLOYER from my bio. 2016-01-03 16:12:45 +01:00
Marten Kenbeek
b551eda9c5 Refs #26011 -- Fixed AttributeError in test_port_bind test. 2016-01-02 11:03:24 -05:00
Mahendra Yadav
e8c34bb832 Added a missing import in tutorial 3. 2016-01-02 09:39:25 -05:00
Tim Graham
3432f5d659 Added stub release notes for 1.9.2. 2016-01-02 09:06:26 -05:00
Tim Graham
24c1713e2e Added release date for 1.9.1/1.8.8 releases. 2016-01-02 08:35:54 -05:00
varunnaganathan
3eba9638ee Fixed #25316 -- Fixed a crash with order_by() and values() after annotate(). 2016-01-02 07:06:54 -05:00
Tim Graham
f0ad641628 Fixed #26016 -- Restored contrib.auth hashers compatibility with py-bcrypt.
Reverted "Explicitly passed rounds as rounds to bcrypt.gensalt()"

This reverts commit 23529fb195.
2016-01-02 06:54:13 -05:00