summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-08Replaced hardcoded URLs in admin_* testsClaude Paroz
Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
2015-02-08Added check_apps_ready() to Apps.get_containing_app_config()Tim Graham
2015-02-08Fixed #24181 -- Fixed multi-char THOUSAND_SEPARATOR insertionVarun Sharma
Report and original patch by Kay Cha.
2015-02-07Revert "Fixed #24075 -- Prevented running post_migrate signals when ↵Markus Holtermann
unapplying initial migrations of contenttypes and auth" This reverts commit 737d24923ac69bb8b89af1bb2f3f4c4c744349e8.
2015-02-07Revert "Refs #24075 -- Silenced needless call_command output while running ↵Markus Holtermann
tests" This reverts commit 51dc617b21e67636d96cf645905797a4d6ff4bf0.
2015-02-07Fixed docs typoPeter Inglesby
2015-02-06Tested DecimalField with scientific notationClaude Paroz
Refs #15775.
2015-02-06Fixed #23860 -- Documented import order convention.wrwrwr
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Removed bin/unique-messages.pyTim Graham
This script is no longer used according to Claude, our translations manager.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-06Removed gather_profile_stats.pyTim Graham
This script uses the unmaintained hotshot module (gone on Python 3) and doesn't seem to be Django specific in any way.
2015-02-06Removed inaccurate sentence about PO files in translation docs.minusf
2015-02-06Added a test for refs #24279Anssi Kääriäinen
This issue was fixed in afe0bb7b13bb8dc4370f32225238012c873b0ee3.
2015-02-06Added trailing comma.Aymeric Augustin
Sorry, I couldn't stand the inconsistency between the two databases anymore.
2015-02-06Hid Django installation message when verbosity is 0.Aymeric Augustin
This message was introduced to help people figure out quickly when they aren't running the tests against the copy of Django they're editing. There's no reason to display it when verbosity is set to 0. It defaults to 1.
2015-02-06Removed django-2to3.pyTim Graham
Aymeric says, "It was fun to write, but I don't think it's very useful."
2015-02-05Removed old import aliases.Tim Graham
2015-02-05Added UUIDField.deconstruct()Tim Graham
2015-02-06Fixed small regression caused by 0204714b0bdf10d7558ee106de9a718407f3ec5aMarkus Holtermann
Since 1.7 models need to declare an explicit app_label if they are not in an application in INSTALLED_APPS or were imported before their application was loaded.
2015-02-05Fixed #23932 -- Added how-to on migrating unique fields.Andrei Kulakov
2015-02-05Called parent in SimpleTestCase.setUpClass/tearDownClass.Aymeric Augustin
2015-02-05Cleaned up schema testsMarkus Holtermann
Thanks Tim Graham for the review.
2015-02-05Fixed #24265 -- Preserved template backend loading exceptions.Aymeric Augustin
If importing or initializing a template backend fails, attempting to access this template backend again must raise the same exception.
2015-02-05Caught all exceptions raised by Engine.get_default().Aymeric Augustin
In addition to ImproperlyConfigured, Engine.get_default() may also raise ImportError or other exceptions. It's better to catch all exceptions in places where the default engine isn't strictly required.
2015-02-05Added cross references to contributing docs.Riccardo Magliocchetti
2015-02-05Fixed #24273 -- Allowed copying RequestContext more than once.Aymeric Augustin
Thanks Collin Anderson for the report.
2015-02-05Simplified handling of RegexURLResolver.urlconf_module.Aymeric Augustin
Also made RegexURLResolver.url_patterns a cached property for consistency and efficiency.
2015-02-05Improved nested ArrayField exampleTom Christie
2015-02-05Fix small regression caused by 71ada3a8e689a883b5ffdeb1744ea16f176ab730.Loic Bistuer
During direct assignment, evaluating the iterable before the transaction is started avoids leaving the transaction dirty if an exception is raised. This is slightly more wasteful but probably not enough to warrant a change of behavior. Thanks Anssi for the feedback. Refs #6707.
2015-02-05Documented that m2m_changed isn't triggered when M2M is displayed as admin ↵Loic Bistuer
inline. Refs #6707.
2015-02-05Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it.Loic Bistuer
Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
2015-02-04Added "SQL" to doc wordlist.Tim Graham
2015-02-04Fixed #24242 -- Improved efficiency of utils.text.compress_sequence()Matthew Somerville
The function no longer flushes zfile after each write as doing so can lead to the gzipped streamed content being larger than the original content; each flush adds a 5/6 byte type 0 block. Removing this means buf.read() may return nothing, so only yield if that has some data. Testing shows without the flush() the buffer is being flushed every 17k or so and compresses the same as if it had been done as a whole string.
2015-02-04Fixed #24197 -- Added clearing of staticfiles caches on settings changes ↵mlavin
during tests Cleared caching in staticfiles_storage and get_finder when relevant settings are changed.
2015-02-04Removed direct manipulation of settings in auth tests; refs #21230.Tim Graham
2015-02-04Cleaned up formatting in template_tests.test_custom.Preston Timmons
2015-02-04Removed non-used EmptyShortCircuitAnssi Kääriäinen
2015-02-04Removed EverythingNodeAnssi Kääriäinen
At the same time, made sure that empty nodes in where clause match everything.
2015-02-04Fixed #24268 -- removed Query.havingAnssi Kääriäinen
Instead of splitting filter clauses to where and having parts before adding them to query.where or query.having, add all filter clauses to query.where, and when compiling the query split the where to having and where parts.
2015-02-04Fixed #14497 -- Improved admin widget for "read only" FileFieldsRiccardo Magliocchetti
Based on patch by Adam J Forster, Paul Collins, and Julien.
2015-02-04Fixed #24235 -- Removed is_usable attribute from template loaders.Preston Timmons
2015-02-04Fixed typos of "select_related" in docs and tests.Josh Schneier
2015-02-03Fixed #15321 -- Honored ancestors unique checks.Aron Podrigal
Thanks to Tim for the review.
2015-02-03Removed a useless check in runtests.pyTim Graham
Added in 3e97535907baa7b57c9bf322871ef6243e2045a9, this check appears to never be triggered today.
2015-02-03Refactored tests that rely on an ImportError for Python 3.5 compatibilityTim Graham
A change in Python test discovery [1] causes the old packages that raised an error to be discovered; now we use a common directory that's ignored during discovery. Refs #23763. [1] http://bugs.python.org/issue7559
2015-02-03Fixed #24266 -- Changed get_parent_list to return a list ordered by MRO.Simon Charette
Thanks to Aron Podrigal for the initial patch and Tim for the review.
2015-02-03Demoted "Installing a distribution-specific package" in install notes.Tim Graham
2015-02-03Reverted "Fixed #24146 -- Fixed a missing fields regression in admin checks."Tim Graham
This reverts commit e8171daf0cd7f0e070395cb4c850c17fea32f11d. A new solution is forthcoming.
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder