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
Anssi Kääriäinen
fb5c7748da
Fixed #24615 -- ordering by expression not part of SELECT
...
Fixed queries where an expression was used in order_by() but the
expression wasn't in the query's select clause (for example the
expression could be masked by .values() call)
Thanks to Trac alias MattBlack85 for the report.
2015-04-16 09:40:47 +02:00
Riccardo Magliocchetti
bcf700b4e3
Removed code duplication between AdminSite.index() and app_index().
2015-04-15 09:56:22 -04:00
Riccardo Magliocchetti
a429a502ea
Updated tests to stop leaking models in shared AdminSite.
...
This would break upcoming changes and AdminSite assumptions about
having an app_config for each application that has registered
models.
2015-04-15 09:45:26 -04:00
Jon Dufresne
97bb48d9ba
Fixed model_fields tests to use django TestCase.
2015-04-15 08:19:25 -04:00
Simon Charette
28e8978325
Fixed typos in the 1.7.7 release notes.
2015-04-14 22:11:40 -04:00
Edward Henderson
910638fc4e
Refs #24385 -- Added tests for distinct sum issue fixed in c7fd9b242d
2015-04-14 18:56:50 -04:00
Eric Rouleau
d72e0178e9
Fixed #24593 -- Fixed number formatting of readonly IntegerFields in the admin.
2015-04-14 17:49:08 -04:00
Tim Graham
6b8c969878
Removed docs for removed transaction APIs.
2015-04-14 13:52:45 -04:00
Alex Wilson
99d40c6f65
Fixed #24277 -- Added exception when dict used in QuerySet filtering
2015-04-14 13:28:53 -04:00
Markus Holtermann
825bb0ab08
Fixed title in 1.7.8 release notes
...
Refs f8e8853b51
2015-04-14 19:25:45 +02:00
Andrew Pinkham
0b5abb0321
Fixed #24635 -- Updated deprecated urls.py examples in default project template.
2015-04-14 12:48:17 -04:00
peterfarrell
f8e8853b51
Fixed #24637 -- Fixed database introspection with SQLite 3.8.9.
2015-04-14 11:29:59 -04:00