1
0
mirror of https://github.com/django/django.git synced 2024-11-20 08:24:58 +00:00
Commit Graph

20718 Commits

Author SHA1 Message Date
Preston Timmons
65a7a0d9ee Improved display of template loader postmortem on debug page.
This now works for multiple Django engines and recursive loaders.
Support for non-Django engines is still pending.

Refs #15053.
2015-04-22 14:49:00 -05:00
Preston Timmons
fc21471526 Fixed #15053 -- Enabled recursive template loading. 2015-04-22 14:49:00 -05:00
Claude Paroz
1b1b58bc7b Documented GeoQuerySet replacement by functions 2015-04-22 19:54:17 +02:00
Claude Paroz
ea27e26b09 Deprecated legacy GeoManager/GeoQuerySet methods 2015-04-22 19:54:17 +02:00
Claude Paroz
71e20814fc Added MySQL support to GIS functions 2015-04-22 19:54:17 +02:00
Claude Paroz
44bdbbc316 Added Spatialite support to GIS functions 2015-04-22 19:54:17 +02:00
Claude Paroz
d9ff5ef36d Fixed #24214 -- Added GIS functions to replace geoqueryset's methods
Thanks Simon Charette and Tim Graham for the reviews.
2015-04-22 19:54:17 +02:00
Tim Graham
1418f75304 Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt 2015-04-22 09:31:10 -04:00
Tim Graham
6ea9819f89 Clarified "AbstractUser.last_login allows null values" in 1.8 release notes. 2015-04-22 08:48:01 -04:00
Oliver A Bristow
4cd727095d Fixed #24681 -- Removed Unicode bug in BrokenLinkEmailMiddleware 2015-04-21 22:02:04 +02:00
Claude Paroz
6e8cb75e3e Fixed #24672 -- Clarified note about installing postgis_topology
Thanks Serhiy Zahoriya for the suggestion and Tim Graham for the
review.
2015-04-21 17:54:38 +02:00
Steve Hiemstra
258d81acbe Fixed #24682 -- Corrected a few generic editing view links 2015-04-21 10:26:19 -04:00
Markus Holtermann
b93690c465 Fixed #24573 -- Considered new related models for reloading
Thanks tttomekkk for the report.
2015-04-21 11:35:45 +02:00
Matthew Wilkes
e4b7daec11 Refs #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change
The issue was hidden on 1.8+ until #24573 due to a bug inside the model
reloading process.

Forwardport of patch from ae87ad005f
2015-04-21 11:28:38 +02:00
Marten Kenbeek
1a1f16d67d Fixed #24591 -- Optimized cloning of ModelState objects.
Changed ModelState.clone() to create a shallow copy of self.fields
and self.managers.
2015-04-20 19:53:21 -04:00
Tim Graham
c331eeb89c Forwardported 1.8.1 release notes. 2015-04-20 19:26:31 -04:00
Simon Charette
b44ed404c7 Fixed #24654 -- Based ordering circular references detection on columns.
Thanks to Elmar Bucher for the report and Tim for the review.
2015-04-20 15:49:58 -04:00
Tim Graham
ffe83d16bd Fixed #24659 -- Clarified docs of smtp.EmailBackend parameters. 2015-04-20 15:46:31 -04:00
Simon Charette
37e23c6060 Fixed #24674 -- Documented the correct NullBooleanField formfield.
Thanks to knbk for the report.
2015-04-20 15:18:41 -04:00
Jon Dufresne
b5e0eede40 Fixed #22394 -- Refactored built-in datetime lookups to transforms. 2015-04-20 15:11:11 -04:00
Marten Kenbeek
039d7881b4 Refs #24397 -- Sped up model reloading in ProjectState.
Created bulk_update() context manager on StateApps. Sped up unregistering
models in reload_models() by using this context mananger.
2015-04-20 14:42:23 -04:00
Matt Robenolt
6387d9d41f Refactored PasswordResetTokenGenerator to be a bit more extensible. 2015-04-20 14:27:12 -04:00
Anton
f5fbddf22f Fixed typo in docs/topics/class-based-views/intro.txt 2015-04-20 14:11:21 -04:00
Tim Graham
e15c55e2bf Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284.
Thanks Carsten Fuchs.
2015-04-20 10:45:05 -04:00
Preston Timmons
fb267a1d85 Updated template tests to create their own engine.
This continues work to treat Django templates as a library.
2015-04-20 09:11:37 -05:00
Neal Todd
d84f01ff08 Amended get_all_related_objects() backwards compatible replacement. 2015-04-20 09:50:17 -04:00
Yoong Kang Lim
36eab95e7f Fixed #24667 --- Repaired model_fields cardinality test 2015-04-20 09:40:01 -04:00
David Danier
9346e45f84 Fixed #24664 -- Removed misleading arg name from TemporaryFileUploadHandler.new_file 2015-04-20 11:59:30 +02:00
Florian Apolloner
cc493d3c06 Merge pull request #4531 from marco-santamaria/ticket11078
Fixed #11078 -- documentation update.
2015-04-19 17:29:44 +02:00
Marco Santamaria
bae72bdd2a Fixed #11078 -- documentation update. 2015-04-19 16:24:14 +02:00
Claude Paroz
f54c0ec06e Fixed #24658 -- Added missing Meta attribute in schema tests
Without that, the Note model would be initially created and then
the tests using that model failed when run in isolation.
2015-04-19 00:05:58 +02:00
Shai Berger
d5a0accaa0 Fixed #24595 Oracle test failure
The only problem for Oracle was the test, which tested nullity on
text/char fields -- but Oracle interprets_empty_strings_as_null.
2015-04-18 18:52:30 +03:00
Tim Graham
e9fdecf984 Removed DateTimeQuerySet from docs.
Obsolete since refs #23867.
2015-04-18 10:14:22 -04:00
Curtis Maloney
14ecbd02a3 Removed cases of six.iter* wrapped in a list()
There's absolutely no advantage [and a mild performance hit] to using six.iter*
in these cases.
2015-04-18 23:29:29 +10:00
Claude Paroz
36e90d1f45 Stopped special-casing postgres-specific tests
Refs #23879.
2015-04-18 15:17:49 +02:00
Claude Paroz
6b6d13bf6e Stopped conditional discovery of gis_tests apps
Refs #23879.
2015-04-18 15:17:49 +02:00
Claude Paroz
8097e54832 Fixed #23879 -- Allowed model migration skip based on feature/vendor
Thanks Carl Meyer for the report and review, and Tim Graham for the
review.
2015-04-18 15:17:49 +02:00
Jacob Kaplan-Moss
f043434174 Added link to the code of conduct from contributing guides.
This is inspired by Angluar.js
(https://github.com/angular/angular/blob/master/CONTRIBUTING.md), among others.
Thanks to Jeff Triplett for the prod.
2015-04-17 18:12:41 -04:00
Anoop Thomas Mathew
2400329508 Fixed #24349 -- Limited domain name labels to 63 characters in EmailValidator 2015-04-17 18:08:33 -04:00
Tim Graham
b98dfc2177 Forwardported 1.8.1 release note. 2015-04-17 11:26:39 -04:00
Tim Graham
f47c796b52 Fixed #24657 -- Fixed include template tag example.
Thanks pattypatpat for the report.
2015-04-17 07:53:57 -04:00
Claude Paroz
02260ea3f6 Fixed #24595 -- Prevented loss of null info in MySQL field alteration
Thanks Simon Percivall for the report, and Simon Charette and Tim
Graham for the reviews.
2015-04-17 10:25:15 +02:00
Tim Graham
ed336a1a5d Fixed gis_tests when run without GIS dependencies. 2015-04-16 19:59:53 -04:00
Tim Graham
d974c89ebb Fixed #24646 -- Fixed jinja2 example on Python 2. 2015-04-16 19:32:42 -04:00
Tim Graham
33b1635a90 Fixed fixtures tests failure on Python 2 with non-ASCII path. 2015-04-16 13:44:07 -04:00
Yitzhak Clark
188a241880 Fixed #21652 -- Added notification when processing objects in loaddata
Added a running count of the objects processed by loaddata when
verbosity >= 3.
2015-04-16 09:42:18 -04:00
Anssi Kääriäinen
355c5edd93 Fixed #24605 -- Fixed incorrect reference to alias in subquery.
Thanks to charettes and priidukull for investigating the issue, and to
kurevin for the report.
2015-04-16 09:22:00 -04:00
Daniel Lindsley
8ca9bc5ec3 Fixed #23984 -- Added Javascript i18n documentation
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.
2015-04-16 08:15:35 -04:00
Abdulrahman Alotaibi
62261ddd0f Fixed #24644 -- Added HTTP_ACCEPT to example headers list. 2015-04-16 07:38:58 -04:00
Tim Graham
d3bf5e7b00 Fixed #24645 -- Documented use of HStoreExtension. 2015-04-16 07:22:01 -04:00