1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
Commit Graph

21297 Commits

Author SHA1 Message Date
Tim Graham
abd33d80db Removed obsolete pysqlite documentation.
These steps are no longer needed as of pysqlite 2.7.0.
76f34850be
2015-09-17 18:41:37 -04:00
Aymeric Augustin
4f6a7663bc Refs #14091 -- Fixed connection.queries on SQLite. 2015-09-17 23:01:33 +02:00
Tim Graham
fc8a6a9b00 Added a version requirement to mysqlclient in test requirements. 2015-09-17 15:07:26 -04:00
Tim Graham
12a62e7e4b Added a version requirement to python-memcached in test requirements. 2015-09-17 15:07:11 -04:00
Simon Charette
4d886db078 Removed the unused JoinPromoter.outer_votes attribute. 2015-09-17 13:47:06 -04:00
Tim Graham
7506616f16 Refs #24215 -- Fixed Python 3.5 compatiblity for unhandled lazy ops error. 2015-09-17 10:06:52 -04:00
Daniel Hahler
da5747f8e4 Fixed #25400 -- Fixed regression in nonexistent features on gis backends. 2015-09-17 09:30:46 -04:00
Moritz Sichert
8550161e53 Refs #25294 -- Moved BoundField to django.forms.boundfield. 2015-09-16 14:43:38 -04:00
Gavin Wahl
0603f09318 Refs #25149 -- Fixed regression in admin datetime widget for timezones on the negative side of UTC. 2015-09-16 13:16:21 -04:00
Matt Robenolt
b0c56b895f Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN.
Thanks Seth Gottlieb for help with the documentation and
Carl Meyer and Joshua Kehn for reviews.
2015-09-16 12:21:50 -04:00
Moritz Sichert
535809e121 Fixed #25294 -- Allowed custom BoundFields on forms. 2015-09-16 10:18:07 -04:00
Matthew Crowson
8615e41586 Fixed typo in django/core/cache/backends/base.py docstring. 2015-09-16 09:29:56 -04:00
David Gibbons
91e3d1215b Updated docs coverage example to run in a single process. 2015-09-16 08:20:29 -04:00
James Bennett
ffec5a2efc Merge pull request #5291 from stephenpaulger/master
Remove unnecessarily rude terminology.
2015-09-16 06:56:34 -05:00
Stephen Paulger
443dffbeb2 Remove unnecessarily rude terminology. 2015-09-16 12:05:28 +01:00
Dave Smith
b53b4d5c10 Fixed #25404 -- Added line numbers to TemplateSyntaxError strings.
This makes it much easier to diagnose a test failure when all
you have is the stack trace from an uncaught TemplateSyntaxError.
2015-09-15 12:25:13 -04:00
Daniel Hahler
d731cf5caf Added upgrade tip in BaseCommand.option_list deprecation comment. 2015-09-15 12:06:29 -04:00
Aymeric Augustin
7673759321 Fixed runtests.py message about parallel processes.
It didn't work anymore since the commit that enabled test
parallelization by default because parallel was equal to 0
at that point.
2015-09-14 22:52:04 +02:00
Aymeric Augustin
2425f6fda0 Prevented --parallel from crashing on Windows.
Since --parallel is documented not to work on Windows, it's better to
ignore it and run without parallelization than to crash. For example
this could simplify cross-platform test scripts.
2015-09-14 22:52:04 +02:00
Tim Graham
64d7a553e1 Fixed #25369 -- Corrected syndication's get_object() example. 2015-09-14 15:30:01 -04:00
Tim Graham
83ea3bc798 Reverted "Fixed #25203 -- Documented how to pass Apache environment variables to Django."
As discussed on the ticket, this isn't a pattern we should recommend.

This reverts commit 47016d4322.
2015-09-14 14:12:31 -04:00
Adam Chainz
3fe3887a2e Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*'). 2015-09-14 13:41:35 -04:00
Ville Skyttä
4d933ad418 Fixed #25393 -- Fixed MySQL crash when adding text/blob field with unhashable default. 2015-09-14 12:25:08 -04:00
Kholid Fuadi
b8b776aabe Fixed typo in django/forms/utils.py docstring. 2015-09-14 08:49:15 -04:00
Tim Graham
f3e5a74646 Refs #25386 -- Added links to the OPTIONS of the built-in template backends. 2015-09-12 18:42:25 -04:00
Dražen Odobašić
b1e33ceced Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
Markus Holtermann
84b0a8d2aa Fixed #25384 -- Ordered imports in newly created migration files
Partial forwardport of 3cc5cc7958 from
stable/1.8.x as the issue was already fixed in master in
a7bc00e17b
2015-09-12 21:37:18 +10:00
Markus Holtermann
2b98034fbb Cleaned up surrounding documentation 2015-09-12 10:38:15 +10:00
Markus Holtermann
f45ee19746 Refs #24919 -- Raised more helpful error message for disabled migrations 2015-09-12 10:38:15 +10:00
Markus Holtermann
a3c01b0dd8 Fixed #24919 -- Allowed disabling of migrations on a per app basis 2015-09-12 10:38:15 +10:00
Buddy Lindsey, Jr
ec704371e3 Fixed #24765 -- Allowed template context updates to flatten a Context. 2015-09-11 14:52:13 -04:00
Tim Graham
e7e8d30cae Refs #25381 -- Clarified that AppConfig model methods search only the current app. 2015-09-11 14:07:12 -04:00
Paul Rentschler
47016d4322 Fixed #25203 -- Documented how to pass Apache environment variables to Django. 2015-09-11 13:23:29 -04:00
Renato Oliveira
e3720b990a Fixed #25382 -- Removed obsolete references to DateQuerySet. 2015-09-11 12:16:06 -04:00
Ryan Allen
fba8655e88 Renamed admin doc image files to match the documentation they are for. 2015-09-11 12:01:13 -04:00
Ryan Allen
6e8ddbaa25 Fixed #25200 -- Updated admin screenshots in docs. 2015-09-11 12:00:10 -04:00
Malcolm Box
1d8eb0cae5 Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes.
This allows dynamically-generated attributes to be specified in
checked ModelAdmin attributes without triggering errors.
2015-09-11 09:28:34 -04:00
Jose Carlos Menezes
cf99bae53a Fixed #25351 -- Added example for database test settings to docs. 2015-09-11 08:11:58 -04:00
Flavio Curella
0c7c18cc9e Fixed #25380 -- Added Postgres.app to the PostGIS options on OS X. 2015-09-11 07:58:46 -04:00
Adam Chainz
b2f6e421a3 Fixed #25329 -- Prevented _nodb_connection from being left open 2015-09-11 08:40:43 +02:00
Tim Graham
d3c92afe42 Fixed a GeoIP2 test failure with the latest GeoIP2 database.
Düsseldorf now appears as Dusseldorf in the latest version
of the GeoIP2 database.
2015-09-10 20:54:25 -04:00
Flavio Curella
dfced0921c Fixed #25379 -- Removed obsolete information from GeoDjango tutorial.
Django 1.9 drops support for PostgreSQL 9.0 where creating
a database using a template was needed.
2015-09-10 20:46:08 -04:00
Aymeric Augustin
0cc0e676c0 And fixed merge accident :-( 2015-09-10 18:24:03 +02:00
Aymeric Augustin
613ee39bf8 Adjusted previous commit.
Sigh.
2015-09-10 18:21:56 +02:00
Aymeric Augustin
968b02f8f0 Refs #20461 -- Made tblib optional for a passing test run.
This was the original intent.
2015-09-10 18:21:13 +02:00
Collin Anderson
c97b755a1c Refs #20461 -- Fixed parallel test runner on Python 2.7.
textwrap.indent() is new in Python 3.3.
2015-09-10 12:00:42 -04:00
Aymeric Augustin
b1a29541e5 Merge pull request #4761 from aaugustin/parallelize-tests-attempt-1
Fixed #20461 -- Allowed running tests in parallel.
2015-09-10 16:12:36 +02:00
Aymeric Augustin
a32206b365 Documented that the parallel test runner doesn't work on Windows. 2015-09-10 15:41:26 +02:00
Aymeric Augustin
710b4a7032 Avoided running more test processes than necessary.
This reduces the time spent cloning databases.

Thanks Tim for the suggestion.
2015-09-10 14:37:51 +02:00
Aymeric Augustin
33c7c2a557 Enabled parallel testing by default in runtests.py. 2015-09-10 13:34:05 +02:00