summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2015-09-09Acknoweldeged a limitation of the parallel test runner.Aymeric Augustin
Notably it will fail to report a Model.DoesNotExist exceptions because the class itself isn't pickleable. (Django has specific code to make its instances pickleable.)
2015-09-09Introduced a mixin for serializing tests.Aymeric Augustin
2015-09-09Allowed a port range for the liveserver by default.Aymeric Augustin
This is required for running tests in parallel.
2015-09-09Cloned databases for running tests in parallel.Aymeric Augustin
2015-09-09Implemented a parallel test runner.Aymeric Augustin
2015-09-09Fixed #25372 -- Fixed autocompletion for options of non-argparse commands.Daniel Hahler
2015-09-08Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.Ola Sitarska
Thanks Jaap Roes for the idea and initial patch.
2015-09-08Fixed #25350 -- Added alias --no-input for --noinput to management commands.Raphael Michel
2015-09-07Refs #24215 -- Improved error message for unhandled lazy model operations.Alex Hill
2015-09-07Fixed #24857 -- Added "python -m django" entry point.Ryan Hiebert
2015-09-07Fixed typos in django/db/models/query.py docstrings.Nick Pope
2015-09-07Fixed #25356 -- Removed default_app_config from startapp template.Tim Graham
Also discouraged its use outside the intended use case.
2015-09-07Fixed #24917 -- Made admindocs display model methods that take arguments.Zan Anderle
2015-09-07Fixed #24706 -- Made ModelForm._post_clean() handle a ValidationError raised ↵Keryn Knight
when constructing the model instance. Thanks Loïc Bistuer for review and advice.
2015-09-07Fixed #25365 -- Fixed visual issues in filter_vertical widget introduced by ↵elky
SVG icons commit.
2015-09-07Refs #25328 -- Refactored LiveServerTestCase to make it extensible.Jakub Gocławski
2015-09-07Fixed #11544 -- Removed !important rules in contrib.admin styles.elky
2015-09-06Simplified deduplication of test databases.Aymeric Augustin
Use the same code path for: - a database that has the same settings as another database (as defined by test_db_signature) - a database this is defined as a mirror of another database There's no conceptual difference between these two cases. Thanks Shai for the suggestion.
2015-09-06Stopped returning mirrors from setup_databases.Aymeric Augustin
The return value of setup_databases is only used as an argument for teardown_databases which doesn't need mirrors.
2015-09-06Fixed #25357 -- Database deduplication on Oracle.Aymeric Augustin
In order to reuse another database, Django must use set_as_test_mirror.
2015-09-06Split setup_databases.Aymeric Augustin
It contained two sections separated by comments. It makes more sense to put each section in its own function.
2015-09-05Moved an import to the toplevel.Aymeric Augustin
2015-09-05Updated references to the TEST_* database settings.Aymeric Augustin
They were removed in Django 1.9. I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release notes because the link points to the right location and the name was accurate at the time.
2015-09-05Refs #24235 -- Removed unused is_usable attribute from base template Loader.Tim Graham
2015-09-05Fixed #25334 -- Provided a way to allow cross-origin unsafe requests over HTTPS.Joshua Kehn
Added the CSRF_TRUSTED_ORIGINS setting which contains a list of other domains that are included during the CSRF Referer header verification for secure (HTTPS) requests.
2015-09-05Fixed #24525 -- Fixed AssertionError in some complex queries.Tim Graham
Thanks Anssi Kääriäinen for providing the solution.
2015-09-04Fixed #25297 -- Allowed makemessages to work with {% trans %} tags that use ↵Alexandre Pocquet
template filters.
2015-09-04Fixed #25353 -- Changed LogEntry.action_time to a "date created".Tim Graham
2015-09-04Fixed #25144 -- Allowed migrate to create tables for apps without migrations.Tim Graham
2015-09-04Fixed #25099 -- Fixed crash in AdminEmailHandler on DisallowedHost.Vlastimil Zíma
2015-09-04Removed unused CSS in contrib.admin.elky
The corresponding HTML was removed in 738d9af1e8e38b0289b7dfa7c8a5413f5d0e20d1.
2015-09-04Fixed #25348 -- Removed unused gif/png images from contrib.admin.elky
2015-09-04Refs #25345 -- Updated links to code.google.com.Maxime Lorant
2015-09-04Fixed #19263 -- Fixed crash when filtering using __in and an empty QuerySet.Tim Graham
Thanks Marcin Biernat for the initial patch and tests.
2015-09-03Fixed #25058 -- Added GenericRelations with related_query_name to the ↵sarthakmeh
admin's delete confirmation page.
2015-09-03Fixed #25335 -- Fixed regression where QuerySet.iterator() didn't return an ↵Gavin Wahl
iterator.
2015-09-02Fixed #25246 -- Guarded against duplicate paths in AppConfig.Caio Ariede
2015-09-01Removed obsolete TODO about moving CommaSeparatedIntegerField into contrib.Tim Graham
2015-09-01Fixed #25320 -- Reverted ManyToManyField.null to False for backwards ↵Tim Graham
compatibility. Thanks Tom Christie for the report and review.
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-31Refs #24121 -- Added a repr() to gis.GeoIP and gis.GeoIP2.Keryn Knight
2015-08-31Refs #24121 -- Added repr() to LazySettings, Settings, and UserSettingsHolder.Keryn Knight
2015-08-31Fixed #25289 -- Updated admin's jQuery to 2.1.4.Tim Graham
2015-08-31Fixed #25259 -- Added comments to header of generated migration filesTyson Clugg
2015-08-31Fixed #25324 -- Registered ModelAdmin instances with @admin.register decoratorY3K
2015-08-31Fixed #25252 -- Added friendly error message on incorrect .select_related() useY3K
Using select_related() after .values() or .values_list() is not possible because .values() or .values_list() already got the values they need.
2015-08-29Made the autoreloader survive all exceptions.Aymeric Augustin
Refs #24704.
2015-08-29Fixed #24704 -- Made the autoreloader survive SyntaxErrors.Aymeric Augustin
With this change, it's expected to survive anything except errors that make it impossible to import the settings. It's too complex to fallback to a sensible behavior with a broken settings module. Harcoding things about runserver in ManagementUtility.execute is atrocious but it's the only way out of the chicken'n'egg problem: the current implementation of the autoreloader primarily watches imported Python modules -- and then a few other things that were bolted on top of this design -- but we want it to kick in even if the project contains import-time errors and django.setup() fails. At some point we should throw away this code and replace it by an off-the-shelf autoreloader that watches the working directory and re-runs `django-admin runserver` whenever something changes.
2015-08-29Ensured gen_filenames() yields native strings.Aymeric Augustin
This also fixes a test failure on Python 2 when Django is installed in a non-ASCII path. This problem cannot happen on Python 3.
2015-08-29Accounted for error files in the autoreloader.Aymeric Augustin
* When some old files contain errors, the second call to gen_filenames() should return them. * When some new files contain errors, the first call to gen_filenames(only_new=True) should return them.