Aymeric Augustin
80d74097b4
Stopped populating the app registry as a side effect.
...
Since it triggers imports, it shouldn't be done lightly.
This commit adds a public API for doing it explicitly, django.setup(),
and does it automatically when using manage.py and wsgi.py.
2013-12-30 22:11:17 +01:00
Aymeric Augustin
c31d7c4813
Updated advice on connecting signals at startup.
2013-12-30 22:11:17 +01:00
Aymeric Augustin
e187caa3af
Added AppConfig.setup() to run setup code.
2013-12-30 22:11:16 +01:00
Aymeric Augustin
e5c89c62f2
Pointed intersphinx links to Python's default version.
...
Currently it's 3.3.
2013-12-30 19:09:45 +01:00
Aymeric Augustin
99649ddcb2
Assumed Python 3 throughout docs/intro.
...
Various small fixes while I was proof-reading.
2013-12-30 19:09:45 +01:00
Aymeric Augustin
34a215d506
Deprecated the app argument of apps.get_models.
...
Use app_config.get_models() instead.
2013-12-29 21:48:58 +01:00
Aymeric Augustin
7b88a96553
Added AppConfig.get_models().
2013-12-29 20:31:59 +01:00
Aymeric Augustin
00110904ac
Refactored the migration signals to use app configs.
...
De-aliased pre/post_syncdb to pre/post_migrate to increase
backwards-compatibility.
2013-12-29 17:53:42 +01:00
Claude Paroz
6d66ba5948
Fixed #21242 -- Allowed more IANA schemes in URLValidator
...
Thanks Sascha Peilicke for the report and initial patch, and
Tim Graham for the review.
2013-12-28 21:25:32 +01:00
Aymeric Augustin
9f13c33281
Removed the only_installed argument of Apps.get_models.
...
Refs #15903 , #15866 , #15850 .
2013-12-28 20:54:26 +01:00
Aymeric Augustin
ba7206cd81
Changed get_model to raise an exception on errors.
...
Returning None on errors required unpythonic error checking and was
inconsistent with get_app_config.
get_model was a private API until the previous commit, but given that it
was certainly used in third party software, the change is explained in
the release notes.
Applied the same change to get_registered_model, which is a new private
API introduced during the recent refactoring.
2013-12-28 20:53:00 +01:00
Aymeric Augustin
54790e669d
Simplified Apps.get_model and added AppConfig.get_model.
...
Documented them as public APIs.
2013-12-28 20:43:29 +01:00
Tim Graham
81a5e35c8d
Fixed doc indentation in previous commit.
2013-12-28 11:33:24 -05:00
ijl
71a03e01aa
Fixed #20346 -- Made cache middleware vary on the full URL.
...
Previously, only the URL path was included in the cache key.
Thanks jamey for the suggestion.
2013-12-28 11:20:18 -05:00
Claude Paroz
b7a7baa554
Fixed #21618 -- Added hints about openlayers.js hosting
...
Thanks kz26 for the report and Tim Graham for the excellent
review.
2013-12-28 11:08:50 +01:00
Aymeric Augustin
c81fae6b95
Used app_label instead of appname.
...
The last component of the dotted path to the application module is
consistently referenced as the application "label". For instance it's
AppConfig.label. appname could be confused with AppConfig.name, which is
the full dotted path.
2013-12-28 09:53:02 +01:00
Aymeric Augustin
bb8ec71f61
Updated the AppCommand API to support apps without a models module.
2013-12-28 09:42:59 +01:00
Tim Graham
85270ef3f5
Fixed #21650 -- Corrected bad advice for plural translation.
...
Thanks nedbatchelder and claudep.
2013-12-27 10:02:22 -05:00
Tim Graham
025ec2e7fe
Fixed #21582 -- Corrected URL namespace example.
...
Thanks oubiga for the report.
2013-12-26 20:04:28 -05:00
Tim Graham
d8d83777eb
Fixed #21629 -- Added instructions for loading MySQL time zone definitions.
...
Thanks Aymeric for the suggestion.
2013-12-26 15:50:33 -05:00
Aymeric Augustin
ce1bc2c94b
Made the AppConfig API marginally more consistent.
...
Eliminated the app_ prefix that was more confusing than useful.
2013-12-26 19:25:09 +01:00
Jon Lønne
398642fd9b
Fixed #21627 -- Added unicode_literals to changepassword command.
...
Fixed a crash when executing changepassword command when the user object
representation contained non-ASCII characters.
2013-12-26 07:35:50 -05:00
Claude Paroz
318cdc07de
Added 1.6.2 release note for 542198c1d
2013-12-26 11:10:50 +01:00
Aymeric Augustin
7df049c417
Swapped app registry and app config API docs.
...
Thanks David Larlet for the suggestion.
Also fixed some Sphinx warnings and improved ReST markup.
2013-12-25 21:57:52 +01:00
Yaroslav Halchenko
80027d2c38
Unified listing of shell commands/code
...
- use code-block:: bash
- prefix the command with $
2013-12-25 15:19:14 -05:00
Tim Graham
b798d2bf97
Added versionadded annotations for redirect middleware attributes.
...
refs #19321
2013-12-25 09:56:41 -05:00
Tim Graham
e82e7ae1e8
Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
...
Thanks carrie.hazelton at altamiracorp.com for the report.
2013-12-25 06:06:25 -05:00
Tim Graham
5d82658657
Fixed #21669 -- Typo in docs/ref/forms/fields.txt.
...
Thanks alex_koval for the report.
2013-12-25 06:02:43 -05:00
Aymeric Augustin
8c78cba47f
Copy-edited previous commit.
...
Thanks Tim for the review.
2013-12-24 23:48:22 +01:00
Aymeric Augustin
285e765891
Added release notes for app loading changes.
2013-12-24 20:16:56 +01:00
Aymeric Augustin
9b8192ce51
Updated a few doc paragraphs following the app-loading refactor.
2013-12-24 17:20:11 +01:00
Aymeric Augustin
f326720a73
Documented the Apps and AppConfig APIs.
2013-12-24 17:20:11 +01:00
Claude Paroz
9267fb88ef
Added more spatial predicates for prepared geometries
...
GEOS 3.3 added crosses, disjoint, overlaps, touches and within
predicates on prepared geometries.
2013-12-24 16:53:09 +01:00
Claude Paroz
d17404aa90
Dropped support for GEOS < 3.1
2013-12-24 15:57:13 +01:00
Aymeric Augustin
1716b7ce5a
Renamed AppCache to Apps.
...
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-24 12:25:17 +01:00
Aymeric Augustin
5241763c81
Added modify_settings to alter settings containing lists of values.
2013-12-23 21:37:43 +01:00
Anubhav Joshi
1a9f13df59
Fixed #21478 -- Corrected docs for when Field.db_type() is called.
2013-12-19 19:29:07 +05:30
Tim Graham
23d9f517dc
Fixed #21585 -- Updated some links to 3rd party database projects.
...
Thanks graeme.perrow at sap.com for the original report.
2013-12-18 18:48:21 -05:00
Tim Graham
cc2d960274
Fixed #21613 -- Removed a hardcoded input id from the tutorial.
...
Thanks Bruno Brouard for the report.
2013-12-18 18:36:01 -05:00
Bouke Haarsma
a39d672ec7
Fixed #21386 -- Removed admindocs dependence on sites framework
...
* Removed ADMIN_FOR setting and warn warning
* Group view functions by namespace instead of site
* Added a test verifying namespaces are listed
Thanks to Claude Paroz for reviewing and ideas for improvement.
2013-12-18 19:44:04 +01:00
Baptiste Mispelon
f1b3ab9c21
Fixed #11629 -- Deprecated callable arguments to queryset methods.
...
Callable arguments were an untested and undocumented feature.
2013-12-18 18:40:00 +01:00
Kevin Christopher Henry
d34c8c338a
Fixed #21632 -- Docs: Removed example with callable as query parameter
...
Using callables as query parameters is undocumented and not working,
so this changes an example from the ForeignKey.limit_choices_to
documentation that uses it.
2013-12-18 12:37:11 -05:00
Denis Moskalets
d4e578d0f6
Fixed #21552 -- Allowed the use of None for the iexact lookup.
...
Thanks Anubhav Joshi for the documentation.
2013-12-18 09:34:53 -05:00
Tianyi Wang
b62031441b
Fixed #21625 -- incorrect documentation for DiscoverRunner.build_suite
2013-12-18 14:12:04 +01:00
Aymeric Augustin
259cd3cd41
Deprecated get_app_package, get_app_path and get_app_paths.
2013-12-17 10:17:45 +01:00
Aymeric Augustin
860c2c8bc5
Moved django.db.models.loading to django.apps.cache.
...
This commit doesn't contain any code changes; it's purely a refactoring.
2013-12-17 10:17:43 +01:00
Loic Bistuer
3ce9829b61
Fixed #17413 -- Serialization of form errors along with all metadata.
2013-12-16 16:33:28 -05:00
Baptiste Mispelon
1689744aee
Added some internal links to render_to_string documentation.
2013-12-15 23:02:20 +01:00
Alex Gaynor
a1bc3683ff
Merge pull request #2079 from brutasse/master
...
Typo in 1.7 release notes
2013-12-15 07:45:12 -08:00
Aymeric Augustin
3beffea4b0
Fixed #21621 -- Removed kqueue autoreloader.
2013-12-15 14:43:52 +01:00
Andrew Godwin
dfc95d240d
Fix docs typo
2013-12-15 12:11:02 +00:00
Bruno Renié
f27ed47b60
Typo in 1.7 release notes
2013-12-15 10:00:13 +01:00
Baptiste Mispelon
e904d421d0
Added internal link to i18n documentation.
2013-12-15 01:50:54 +01:00
Alasdair Nicol
1fa681ee11
Fixed #21539 -- Added example of modelformset_factory's form argument
2013-12-14 16:35:14 -05:00
Marti Raudsepp
75ec1fdf16
Clarifed table rewrites in migration docs.
...
Small nitpicks. All column-related ALTER TABLE commands take an
exclusive table lock in PostgreSQL. The difference is that adding a
column without default doesn't cause a table rewrite, so the lock is
held only for a short time.
The time taken is more accurately proportional to table size, not row
count.
2013-12-14 12:34:45 -05:00
Loic Bistuer
6685713869
Fixed E127 pep8 warnings.
2013-12-14 11:59:15 -05:00
Chris Jerdonek
d599b590eb
Fixed #21614 -- improved docs on configuring email for development.
2013-12-14 11:20:38 -05:00
Bouke Haarsma
bed52afee7
Removed usage of to-be-deprecated ADMIN_FOR setting in contributing docs
2013-12-14 16:49:25 +01:00
Chris Jerdonek
e1cfc4b96a
Fixed link text for "Testing in Django" in tutorial 5.
2013-12-14 10:41:26 -05:00
johannes-gehrs
f685f94c98
Fixed #21580 -- Clarified why render() does not return a TemplateResponse object.
2013-12-13 18:56:18 -05:00
Tim Graham
ccd80dc3b6
Added 1.6.2 release notes stub.
2013-12-13 18:42:24 -05:00
Tim Graham
99b7d74914
Merge pull request #2067 from dominicrodger/master
...
Moving notes for assertNumQueries next to the other changes to test infrastructure
2013-12-13 07:36:57 -08:00
Baptiste Mispelon
d4d0dd7416
Changed documentation of HttpResponse.content to indicate it's a bytestring
2013-12-13 11:42:14 +01:00
Tim Graham
e01ade61fe
Copied 1.6.1 release notes from stable/1.6.x branch.
2013-12-12 15:08:22 -05:00
Dominic Rodger
cddb1e95b9
Moving notes for assertNumQueries next to the other changes to test infrastructure
2013-12-12 14:48:54 +00:00
Rémy HUBSCHER
24fcca6bdd
Fixed #21591 -- Added documentation about contrib.messages.get_messages.
...
Refs https://code.djangoproject.com/ticket/21591
Thanks to track user merb for the report.
2013-12-12 14:56:34 +01:00
Dominic Rodger
5cd6477fd6
Fixed #21462 -- Made `assertNumQueries` print executed queries on failure.
2013-12-11 15:24:17 -05:00
Claude Paroz
c7c647419c
Fixed #21510 -- Readded search reset link in changelist search bar
...
Thanks moritz.pfeiffer at alp-phone.ch for the report and
Tim Graham for the initial patch.
2013-12-11 15:30:20 +01:00
Christian Schmitt
744aac6dac
Fixed #21560 -- missing 'slug' field in example code
...
I updated the documentation, that the modelform now includes the 'slug' field.
2013-12-09 22:54:11 +01:00
Simon Charette
c047dda057
Removed an erroneous leading slash introduced by a626bdf648a.
2013-12-08 13:18:53 -05:00
Claude Paroz
626bdf648a
Updated a bunch of hyperlinks in documentation
2013-12-08 18:40:09 +01:00
Ramiro Morales
f876552f4b
(Re-)added GeoDjango instructions for building pysqlite2 correctly.
...
This is a partial undo of 1b142ef5dd
.
2013-12-08 11:14:18 -03:00
Claude Paroz
5c61b8519d
Fixed #18531 -- Deprecated Geo Sitemaps
...
I've chosen a quick deprecation path, as Geo Sitemaps themselves
are deprecated from some time now.
2013-12-07 21:46:03 +01:00
Claude Paroz
41ebc4838d
Fixed #21551 -- Reenabled loading fixtures from subdirectory
...
This was a regression in Django 1.6 that was only partially
restored in 839940f27f
.
Thanks Jonas Haag for the report.
2013-12-07 10:47:34 +01:00
Claude Paroz
8a9c8bb907
Fixed #21568 -- Added missing ModelMultipleChoiceField to_python method
...
Thanks dibrovsd at gmail.com for the report and Simon Charette
for the review.
2013-12-07 10:14:22 +01:00
Baptiste Mispelon
19b22d4f0e
Added fix for #21530 to 1.6.1 release notes.
2013-12-07 03:37:31 +01:00
Tim Graham
b63acdfe71
Removed a u'' prefix that prevented the docs from building on Python 3.2.
2013-12-06 13:06:59 -05:00
Alasdair Nicol
317fd13c7a
Fixed #21562 -- Warned against using the same app name as a django contrib app.
...
Thanks yourcelf for the report.
2013-12-05 19:09:45 -05:00
Baptiste Mispelon
38662d11c4
Fixed another typo in custom model field documentation.
2013-12-05 23:11:30 +01:00
Baptiste Mispelon
3396d5716b
Fixed typo in custom model field documentation.
2013-12-05 23:07:50 +01:00
Frank Wiles
164df40501
Fixing manager documentation inaccuracy
2013-12-04 18:03:28 -06:00
Alasdair Nicol
0daa2f1bf1
List 1.6.x releases in descending order
2013-12-04 21:32:41 +00:00
Aymeric Augustin
cd9e85ece9
Fixed #21558 -- Support building CHM files.
...
Thanks Michał Pasternak.
2013-12-04 16:46:56 +01:00
Ramiro Morales
abb04f1f3f
Added link to localized formatting doc from main index.
2013-12-04 10:26:03 -03:00
Ramiro Morales
12615dab78
Fixed #13476 -- Added support for color in console output under Windows.
...
Detect and use the services of the ANSICON third-party tool if it's
available.
2013-12-02 23:18:04 -03:00
Alasdair Nicol
c75dd664cf
Fixed #21538 -- Added numpy to test/requirements/base.txt
...
Thanks Tim Graham for the report
2013-12-02 13:37:59 -05:00
Tim Graham
fddb0131d3
Fixed #21535 -- Fixed password hash iteration upgrade.
...
Thanks jared_mess for the report.
2013-11-30 14:18:37 -05:00
Tim Graham
f3e7ab366c
Removed gender-based pronouns per [ c0a2daad78
].
2013-11-30 08:37:15 -05:00
Alex Gaynor
c0a2daad78
Documented the house style for gender neutral pronouns.
2013-11-30 08:31:58 -05:00
Claude Paroz
50a8ab7cd1
Enabled makemessages to support several translation directories
...
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and
Tim Graham for the reviews.
Also fixes #16084 .
2013-11-30 11:00:23 +01:00
Loic Bistuer
b72b85af15
Removed Form._errors from the docs in favor of the add_error API.
2013-11-30 01:00:53 +07:00
Loic Bistuer
f563c339ca
Fixed #20867 -- Added the Form.add_error() method.
...
Refs #20199 #16986 .
Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
2013-11-30 01:00:53 +07:00
Vajrasky Kok
7e2d61a972
Fixed #21380 -- Added a way to set different permission for static directories.
...
Previously when collecting static files, the directories would receive permissions
from the global umask. Now the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS
and there's an option to specify the permissions by subclassing any of the
static files storage classes and setting the directory_permissions_mode parameter.
2013-11-29 08:01:30 -05:00
Claude Paroz
34b8a38558
Fixed #21496 -- Fixed crash when GeometryField uses TextInput
...
Thanks Rhett Garber for the report and initial patch.
2013-11-28 18:29:02 +01:00
Baptiste Mispelon
077af42139
Fixed #21515 -- Corrected example of template.Context in documentation.
...
Thanks to trac user oubiga for the report.
2013-11-28 00:57:13 +01:00
Tim Graham
df6760f12c
Added a warning regarding risks in serving user uploaded media.
...
Thanks Preston Holmes for the draft text.
2013-11-27 16:35:25 -05:00
Loic Bistuer
ecd8556589
Fixed typo in release notes.
2013-11-28 01:37:21 +07:00
Loic Bistuer
f450bc9f44
Added a bulk option to RelatedManager remove() and clear() methods
...
Refs #21169
2013-11-27 19:45:22 +02:00
Loic Bistuer
17c3997f68
Fixed #21169 -- Reworked RelatedManager methods use default filtering
...
The `remove()` and `clear()` methods of the related managers created by
`ForeignKey`, `GenericForeignKey`, and `ManyToManyField` suffered from a
number of issues. Some operations ran multiple data modifying queries without
wrapping them in a transaction, and some operations didn't respect default
filtering when it was present (i.e. when the default manager on the related
model implemented a custom `get_queryset()`).
Fixing the issues introduced some backward incompatible changes:
- The implementation of `remove()` for `ForeignKey` related managers changed
from a series of `Model.save()` calls to a single `QuerySet.update()` call.
The change means that `pre_save` and `post_save` signals aren't called anymore.
- The `remove()` and `clear()` methods for `GenericForeignKey` related
managers now perform bulk delete so `Model.delete()` isn't called anymore.
- The `remove()` and `clear()` methods for `ManyToManyField` related
managers perform nested queries when filtering is involved, which may
or may not be an issue depending on the database and the data itself.
Refs. #3871 , #21174 .
Thanks Anssi Kääriäinen and Tim Graham for the reviews.
2013-11-27 19:44:18 +02:00
Andrew Godwin
0b3c8fc851
Update tutorial part 1 to discuss migrations properly
2013-11-27 16:29:49 +00:00
Andrew Godwin
19b34fbe63
Field.deconstruct() howto docs
2013-11-27 15:20:53 +00:00
Andrew Godwin
0c46ca83e8
Merge pull request #1985 from raphaa/21499
...
Fixed #21499 -- Migrations won't work if field signature changes
2013-11-26 12:33:52 -08:00
Alex Gaynor
ac17525039
Replace use of dict.has_key with `key in dict`
2013-11-26 14:32:14 -06:00
Alex Gaynor
bb5ab908cc
Fixed a typo in the documentation
2013-11-26 13:49:54 -06:00
Claude Paroz
384816fccb
Fixed #21448 -- Fixed test client logout with cookie-based sessions
...
Thanks Gunnar Scherf for the report and the suggested patch.
2013-11-26 20:41:51 +01:00
Jay Leadbetter
c74504c2dd
Fixed #20522 - Allowed use of partially validated object in ModelAdmin.add_view formset validation.
...
Updated ModelAdmin to use form.instance when passing parent model to
child inlines for add_view. There is effectively no change in the
change_view since the previously passed 'obj' is the same as form.instance.
Thanks to meshy for report, and EvilDMP and timo for review.
2013-11-25 20:01:16 -05:00
Ludwik Trammer
70e61310d6
Fixed #21507 -- Corrected default widget information for FileField
2013-11-25 08:26:10 -05:00
Alex Gaynor
4e07d93325
Fixed some unnescesarily gendered language in the docs
2013-11-24 21:05:59 -06:00
Simon Charette
eb38257e51
Fixed #21391 -- Allow model signals to lazily reference their senders.
2013-11-24 17:51:22 -05:00
Tim Graham
03bc0a8ac5
Fixed typo in previous commit; refs #21490 .
2013-11-24 16:28:29 -05:00
Tim Graham
bfe7377adb
Fixed #21490 -- Fixed custom admin URL reverse example.
...
Thanks glarrain for the report.
2013-11-24 15:19:05 -05:00
Loic Bistuer
2a0ae9b9ec
Removed confusing comments from the docs.
...
The settings reference documentation doesn't seem the right place to
invite users to write their own db and cache backends.
Also the actual wording makes the task sound trivial, which is hardly
the case; writing a custom db backend is a very difficult task, and
writing a custom cache backend is full of gotcha.
2013-11-24 20:22:22 +01:00
Raphael Jasjukaitis
455e2896b1
Fixed #21499 -- Added a paragraph to the docs.
2013-11-24 15:26:45 +01:00
Thomas Orozco
957d22b850
Add missing commas in Prefetch docs
2013-11-23 23:48:34 +01:00
Claude Paroz
42fef29446
Fixed #21486 -- Prevented settings config in signal connection
...
This was particularly problematic in the chain get_wsgi_application
-> db.connections import -> signal connection -> settings configuration.
Thanks Jon Dufresne for the report.
2013-11-23 18:47:47 +01:00
Florian Apolloner
e112654fc8
Fixed #21200 -- Consistantly raise errors across all cache backends.
...
Thanks to tchaumeny for the patch.
2013-11-23 17:50:28 +01:00
Ramiro Morales
62b393c5ae
Fixed #21488 -- Multiple locales treatment in i18n commands.
...
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
8750296918
from stable/1.6.x.
2013-11-23 11:53:47 -03:00
Curtis Maloney
ffc37e2343
Fixed #21012 -- New API to access cache backends.
...
Thanks Curtis Malony and Florian Apolloner.
Squashed commit of the following:
commit 3380495e93
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 14:18:07 2013 +0100
Looked up the template_fragments cache at runtime.
commit 905a74f52b
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 14:19:48 2013 +0100
Removed all uses of create_cache.
Refactored the cache tests significantly.
Made it safe to override the CACHES setting.
commit 35e289fe92
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 12:23:57 2013 +0100
Removed create_cache function.
commit 8e274f747a
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 12:04:52 2013 +0100
Updated docs to describe a simplified cache backend API.
commit ee7eb0f73e
Author: Curtis Maloney <curtis@tinbrain.net>
Date: Sat Oct 19 09:49:24 2013 +1100
Fixed #21012 -- Thread-local caches, like databases.
2013-11-23 15:06:59 +01:00
Haiko Schol
dfde4d9012
Removed information about releases < 1.7.
2013-11-23 13:53:50 +01:00
Loic Bistuer
033b26173b
Improved docs for ModelFormSet.clean().
2013-11-22 19:48:54 -05:00
mlissner
c456ea4ec8
Noted that localmem is the default cache.
2013-11-22 19:39:25 -05:00
Tim Graham
f0fc1690b4
Removed unused import in docs/topics/http/sessions.txt
2013-11-22 15:28:22 -05:00
Loic Bistuer
82a58ce5b6
Fixed #21491 -- Removed documented workaround for a known issue.
...
The issue was that two M2M hidden reverse managers
(related_name ending with a '+') could clash with each other.
Refs #21375 and #15932 . Thanks Baptiste.
2013-11-23 01:29:09 +07:00
Aymeric Augustin
9f8810ac51
Fixed #21487 -- Session cannot store tzinfo instances anymore.
...
Thanks filipp for the report.
Forward-port of 1eddca0a
from stable/1.6.x.
2013-11-22 15:34:37 +01:00
Cody Scott
4a54b69e88
Fixed sentence structure in docs/internals/contributing/triaging-tickets.txt
2013-11-22 09:07:10 -05:00
Claude Paroz
1718b5256c
Fixed #21405 -- Prevented queryset overwrite in BaseModelAdmin
...
Thanks guido@20tab.com for the report and Tim Graham for the
analyze.
2013-11-21 22:18:52 +01:00
Loic Bistuer
27f04e79b1
Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.
2013-11-21 15:12:39 +01:00
Markus Amalthea Magnuson
b6a6cf4ab7
Fixed #21427 -- Clearly state integer field value ranges in docs
...
Added an explicit mention of the exact value ranges for integer type
fields that are safe in all databases supported by Django. Also, put
all value numbers inside double ticks.
2013-11-21 14:15:23 +01:00
Claude Paroz
fafb6cf049
Fixed #21472 -- Fixed inline formsets display when parent pk is 0
...
Thanks agale031176@gmail.com for the report.
2013-11-20 21:36:20 +01:00
Dražen Lučanin
b5eef8535a
Recommended setuptools in the reuseable app tutorial.
...
setuptools has merged with distribute.
2013-11-19 13:57:17 -05:00
Baptiste Mispelon
ebfa508fa3
Added more examples to the get_object_or_404 documentation.
2013-11-19 19:23:44 +01:00
Julia Antokhine
3c3be2e8ec
fixed typo in builtins.txt
2013-11-19 12:53:28 -05:00
Rocky Meza
42197e31aa
Fixed the base class note in the Date Views docs.
2013-11-19 10:23:59 -05:00
Unai Zalakain
4fdd51b732
Fixed #15179 -- middlewares not applied for test client login()
...
Requests made with django.test.Client.login() and logout() respect
defaults defined in django.test.Client instantiation and are processed
through middleware.
Thanks to Loic for the reviews.
2013-11-19 09:04:20 +02:00
Tim Graham
9348fc5628
Fixed typo in topics/http/sessions.txt.
2013-11-18 19:10:58 -05:00
Claude Paroz
97ac22ebfc
Fixed #21457 -- Allowed fixture file name to contain dots
...
Thanks Keryn Knight for the report.
2013-11-18 20:32:13 +01:00
Baptiste Mispelon
bc0413cbc6
Added more internal links in the management command documentation.
2013-11-18 19:25:28 +01:00
Claude Paroz
a0f3eeccf3
Fixed #21397 -- Re-added flexibility to TypedChoiceField coercion
...
Thanks Elec for the report and Simon Charette for the review.
2013-11-18 18:24:56 +01:00
Claude Paroz
4a00f132e0
Added release note for TypedChoiceField coerce limitation
...
Thanks Elec for the report and Simon Charette for the review.
Refs #21397 .
2013-11-18 18:08:59 +01:00
Tim Graham
ba63b9895b
Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.
...
Thanks marcin at sokrates.pl.
2013-11-18 09:32:25 -05:00
Tim Graham
ffdae5b66d
Fixed #21404 -- Added session.set_expiry() note to 1.6 release notes.
...
Thanks pwr for the suggestion.
2013-11-18 07:58:43 -05:00
Claude Paroz
2b7fc36295
Updated 1.6.1 release notes
...
Partial forward port of e85baa813f
.
2013-11-17 21:22:06 +01:00
Anssi Kääriäinen
0e079e4331
Fixed #21428 -- editable GenericRelation regression
...
The GenericRelation refactoring removed GenericRelations from
model._meta.many_to_many. This had the side effect of disallowing
editable GenericRelations in ModelForms. Editable GenericRelations
aren't officially supported, but if we don't fix this we don't offer any
upgrade path for those who used the ability to set editable=True
in GenericRelation subclass.
Thanks to Trac alias joshcartme for the report and stephencmd and Loic
for working on this issue.
2013-11-16 20:07:35 +02:00
Tim Graham
d011714002
Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt
...
Thanks alasdair.
2013-11-15 10:21:58 -05:00
DanSears
8ca3963ab2
Clarified MySQL Connector note.
2013-11-15 08:51:17 -05:00
Tim Graham
3ccc0253f2
Fixed #21425 -- Made order in which loggers are introduced consistent.
...
Thanks oubiga for the suggestion.
2013-11-15 08:39:40 -05:00
Tim Graham
6e9e6ca071
Fixed #21440 -- Typo in topics/http/shortcuts.txt
...
Thanks olof.bjarnason at gmail.com for the report.
2013-11-15 07:09:46 -05:00
Baptiste Mispelon
8e6d1b9792
Added backported fixes to 1.6.1 release notes.
2013-11-14 23:13:20 +01:00
Anssi Kääriäinen
4301d6fa36
Release notes for ORM changes in 1.6
2013-11-14 18:03:53 +02:00
Tim Graham
94d567ba30
Added release note for #21410 ; thanks Loic.
2013-11-13 12:24:15 -05:00