Commit Graph

17549 Commits

Author SHA1 Message Date
Aymeric Augustin f6f188ffc7 [1.7.x] Fixed #21553 -- Ensured unusable database connections get closed.
Backport of 5f2f47f from master
2014-04-09 22:50:21 +02:00
Tim Graham 396d65b580 [1.7.x] Noted that pip is included with Python 3.4 in Windows install guide.
Thanks CHI Cheng.

Backport of 11e7254c3d from master
2014-04-09 07:39:08 -04:00
ejstronge 763b1d55e2 [1.7.x] Fixed small typo in django-admin.txt
The word 'by' seemed to be missing from the first line of the compilemessages command.

Backport of 5ca522b9ed from master
2014-04-09 07:13:37 -04:00
Huu Nguyen f22177a9a3 [1.7.x] Refs #21230 -- removed direct settings manipulation from signed cookies tests
Backport of b9bfcd82f0 from master
2014-04-08 12:15:40 -04:00
Anubhav Joshi 2cb7013179 [1.7.x] Fixed #16205 -- Added an installation for Windows.
Backport of d35d2f61c5 from master
2014-04-08 11:28:58 -04:00
Tim Graham 8158557f22 [1.7.x] Added Python 3.4 to list of supported version in docs/intro/install.txt
Backport of a1fa6fcabc from master
2014-04-08 11:13:36 -04:00
Tim Graham 9063e6ed39 [1.7.x] Fixed casing of "GeoDjango". 2014-04-08 10:12:15 -04:00
Anubhav Joshi d9c7d9eb6e [1.7.x] Fixed #9535 -- Added a reference guide for file upload classes.
Backport of c8c2b8a638 from master
2014-04-08 10:09:01 -04:00
Anubhav Joshi 61b7fcf478 [1.7.x] Fixed #22405 -- Fixed string error in models/queries docs.
Backport of 36de29200e from master.
2014-04-08 13:34:37 +02:00
Yin Jifeng c148d8e730 [1.7.x] Added missing request parameter to get_current_site().
Backport of d6c9bdd825 from master
2014-04-07 09:57:04 -04:00
Tim Graham 32c8579089 [1.7.x] Fixed #21084 -- Used proxy model's content type for admin log entries.
(the previous commit included only the test)

Backport of 3cba90f22a from master
2014-04-07 09:06:09 -04:00
Alejandro Gómez 5e74d6cf0a [1.7.x] Fixed #21084 -- Used proxy model's content type for admin log entries.
Backport of 7a7f6fccae from master
2014-04-07 08:59:27 -04:00
Tim Graham 38679254bf [1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.
Backport of d2f4553d70 from master
2014-04-05 18:17:13 -04:00
Tim Graham 5891fd3f89 [1.7.x] Fixed #21649 -- Added optional invalidation of sessions when user password changes.
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.

Backport of fd23c06023 from master
2014-04-05 13:01:03 -04:00
Vishal Lal 4ad4a236de [1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
Backport of 8f621b83e9 from master.
2014-04-04 09:48:56 +02:00
Tomasz Wysocki 23984cf907 [1.7.x] Refactored and commented strip_tags utility
Backport of c28beb4291 from master.
2014-04-03 21:28:10 +02:00
Simon Charette 7b3a221ad6 [1.7.x] Fixed #22363 -- Correctly serialize `django.utils.datetime_safe` objects.
Thanks to linovia for the report.

Backport of 074d3183d9 from master
2014-04-03 14:56:41 -04:00
Vishal Lal 28a686a0b7 [1.7.x] Fixed #22372 -- Improved description of WizardView.get_context_data().
Thanks simon29 for the report.

Backport of a8e2ec0e82 from master
2014-04-03 08:27:57 -04:00
Ramiro Morales 1a1b22679d [1.7.x] Document removal of GeoDjangoTestSuiteRunner in 1.6 release notes.
e6ced2bb08 from master.
2014-04-02 17:16:33 -03:00
Vishal Lal 36d1e3725f [1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation.
Thanks nliberg for the report.

Backport of ca93f02c62 from master
2014-04-02 13:01:03 -04:00
Claude Paroz cfb7eca2a1 [1.7.x] Added 1.6.3 release note for refs #22256. 2014-04-01 20:48:06 +02:00
Loic Bistuer 6405889a72 [1.7.x] Fixed #22360 -- Fixed two non-deterministic tests in Python 3.4.
The order of admin's changelist filters in the querystring relied on
dict ordering.

Backport of 4d996b8e69 from master
2014-03-31 08:24:09 -04:00
Tim Graham ef37346932 [1.7.x] Fixed #22362 -- Improved AuthenticationMiddleware assertion message.
Thanks Keryn Knight.

Backport of 246face209 from master
2014-03-31 08:12:16 -04:00
Tim Graham 07c42cee7f [1.7.x] Replaced urllib/urlparse imports with from django.utils.six.moves.
Backport of 981b864fbd from master
2014-03-31 07:55:25 -04:00
Loic Bistuer 5268d71f18 [1.7.x] Fixed #21795 -- Made add_preserved_filters account for url prefixes.
Thanks to trac username honyczek for the report. Refs #6903.

Backport of 4339e9a92d from master
2014-03-31 07:20:20 -04:00
Tim Graham 25da849896 [1.7.x] Added 1.6.3 release note for refs #22250.
Backport of d57ba04d89 from master
2014-03-31 07:12:12 -04:00
Tim Graham 2f2d21fe5c [1.7.x] Fixed typo in docstring.
Backport of 029d77eaaa from master
2014-03-31 07:01:27 -04:00
Loic Bistuer 8e73d3a2c1 [1.7.x] Fixed #22319 -- Fixed migration external dependencies when there are internal dependencies.
Backport of 0fd51cf0bd from master
2014-03-31 06:57:44 -04:00
Loic Bistuer bdec848063 [1.7.x] Fixed #22359 -- Changing M2M field to blank=True failed on sqlite.
Backport of a449e7feec from master
2014-03-31 06:35:06 -04:00
Ramiro Morales 422f5d9a2c [1.7.x] Corrected an import in a model form docs example.
cb5dd99bb4 from master.
2014-03-30 20:34:29 -03:00
Berker Peksag 273f8e2297 [1.7.x] Added Python 3.4 to classifiers in setup.py.
Backport of 47509e3c5d from master
2014-03-30 17:46:38 -04:00
Tim Graham 0f9f8738d5 [1.7.x] Fixed #22338 -- Fixed a test dependent on dictionary key iteration order.
Backport of 69a4f383f6 from master
2014-03-30 14:27:05 -04:00
Aymeric Augustin 18b2c03ea3 [1.7.x] Increased memoization cache size for language codes.
There may be more than 100 (default maxsize) commonly seen xx-yy values
on some sites. The additional memory consumption isn't significant.

Also added a comment explaining why this cache must have a maxsize.

Backport of f356b6e from master.
2014-03-29 19:47:47 +01:00
Tim Graham c139e3e0a0 [1.7.x] Fixed #21858 -- Clarified 1.6 release note regarding M2M help text changes.
Thanks lee at semel.net for the report.

Backport of f30e6590f4 from master
2014-03-29 10:23:23 -04:00
Anssi Kääriäinen a6a0800579 [1.7.x] Fixed #22250 -- regression in gis compiler for non-concrete fields
Thanks to gwahl@fusionbox.com for the report.

Backport of 21f208e66e from master
2014-03-29 08:28:43 +02:00
Tim Graham c9014a95bc [1.7.x] Skipped JavascriptI18nTests if Firefox isn't properly configured.
Code borrowed from django.contrib.admin.tests. Without this, the class can
throw an exception with something like "The browser appears to have exited
before we could connect. The output was: Error: no display specified"

Backport of e2ac0203d9 from master
2014-03-28 07:30:35 -04:00
Tim Graham 5f04240381 [1.7.x] Added Python 3.4 support notes.
Backport of 306deab2c7 from master
2014-03-27 08:12:58 -04:00
Tim Martin e2e773c04a [1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.

Backport of a779757706 from master
2014-03-27 07:02:02 -04:00
Tim Graham 0134d00be5 [1.7.x] Skipped a test that errors rather than marked it as an expectedFailure.
The test throws an error which Python 3.4 doesn't seem to catch as an
expectedFailure.

refs 7476d96f83

Backport of c170c3761b from master
2014-03-27 07:01:20 -04:00
Tim Graham 3d74f1f64a [1.7.x] Fixed a deprecation warning on Python 3.
Backport of c19bbefca2 from master
2014-03-27 07:01:04 -04:00
Chris Beaven fe61ba91c7 [1.7.x] Add a useful stacklevel to some RemovedInDjango19Warnings
Backport of b077ba7ac1 from master
2014-03-27 06:11:01 -04:00
Simon Charette 4678efd3f1 [1.7.x] Fixed the PostGIS circular imports caused by 1506c71a95.
Thanks to @loic for the help and @timgraham for the review.

refs #12030.

Backport of b9e50e4774 from master
2014-03-26 13:02:52 -04:00
Tim Graham 994274ea83 [1.7.x] Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers.
All signals should now be registered in AppConfig.ready().

Thanks un33k for the report.

Backport of 5233b36693 from master
2014-03-26 10:41:45 -04:00
Tim Graham 4bd7411edf [1.7.x] Fixed Python 3.4 test failure.
Backport of 45ef4baf5c from master
2014-03-26 10:11:12 -04:00
Loic Bistuer 39fc8d4b8e [1.7.x] Fixed #22331 -- Made MigrationAutodetector ignore unmanaged models.
This commit reverts 69d4b1c and tackle the issue from a different angle.
Models remain present in the project state, but are now ignored by the
autodetector.

Backport of 42336c84a0 from master
2014-03-25 20:04:49 -04:00
Andrew Godwin 1cb6729f58 [1.7.x] Add some syncdb deprecation stuff into the deprecation doc
Backport of 378359de1c from master
2014-03-25 20:02:07 -04:00
Simon Charette 81d3d48b5e [1.7.x] Fixed field deconstruction tests failures introduced by 1506c71a95.
refs #12030.

Backport of ff874f363c from master
2014-03-25 19:30:33 -04:00
Simon Charette 78211b13a5 [1.7.x] Fixed #12030 -- Validate integer field range at the model level.
Thanks to @timgraham for the review.

Backport of 1506c71a95 from master
2014-03-25 14:31:54 -04:00
Tim Graham 7eaf329ad3 [1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
refs #14305.

Thanks Adrian Klaver for the report.

Backport of 9b7ba8af1b from master
2014-03-25 14:03:02 -04:00
Tim Graham d84beb3d91 Revert "[1.7.x] Fixed #22331 -- Fixed migrations ProjectState to ignore unmanaged models."
This reverts commit bf69375c4d.
2014-03-25 12:07:37 -04:00