Tianyi Wang
e6800ea136
Fixed #21728 -- Corrected an inadvertent path change in docs/intro/contributing.txt.
2014-01-03 11:59:15 -05:00
Anssi Kääriäinen
4e6142ee84
Merge pull request #2094 from coder9042/ticket_21478
...
Changed documentation for db_type()
2014-01-03 01:30:52 -08:00
Vajrasky Kok
ea83102d0f
Fixed #21319 -- Added documentation for the Form.fields attribute.
...
Thanks pydanny for the report. Also, added documentation about
base_fields attribute and its difference with fields attribute.
2014-01-02 19:43:26 -05:00
Aymeric Augustin
756a6accdb
Updated my bio.
2014-01-02 23:14:54 +01:00
Aymeric Augustin
449ede03b8
Changed convention for modules storing AppConfigs.
...
The app/apps dichotomy was more confusing than valuable.
2014-01-02 23:07:33 +01:00
Tim Graham
07711e9997
Fixed #21722 -- Added a warning for avoiding XSS vulnerabilities when reusing built-in filters.
...
Thanks Stephen McDonald for the suggestion.
2014-01-02 16:29:59 -05:00
Nathan Smith
44d40ba521
Fixed minor typos.
2014-01-02 15:14:11 -05:00
Frank Tobia
6dd8631617
Fixed typos. Changed grammar.
...
Minor typos. Some grammar changes.
2014-01-02 14:22:52 -05:00
Marc Tamlyn
7a30eab06e
Fix typo in 0ce945a671
.
...
Thanks to Loic for the report.
2014-01-02 09:06:52 +00:00
Aymeric Augustin
1386075f62
Updated release notes on app_label.
...
Django determines automatically which application models belong to,
provided the application can be imported without importing models.
2014-01-01 19:45:43 +01:00
Aymeric Augustin
0ce945a671
Fixed #21018 -- Reversed precedence order for management commands.
2014-01-01 18:11:15 +01:00
Aymeric Augustin
8a2f304a79
Documented unicity rules in INSTALLED_APPS.
...
Refs #12288 , #21679 .
2014-01-01 16:51:58 +01:00
Matt Robenolt
a502bbb2f0
Django sees more than 1mm hits per hour
...
Disqus regularly does 40-50k/s
2013-12-31 16:23:20 -08:00
Loic Bistuer
4befb3015c
Fixed #21581 -- Fixed a number of issues with collectstatic.
...
When STATIC_ROOT wasn't set, collectstatic --clear would delete
every files within the current directory and its descendants.
This patch makes the following changes:
Prevent collectstatic from running if STATIC_ROOT isn't set.
Fixed an issue that prevented collectstatic from displaying the
destination directory.
Changed the warning header to notify when the command is run
in dry-run mode.
2013-12-31 14:58:49 -05:00
Tim Graham
4d8d76e7a8
Fixed #21484 -- Documented that SQL logging does not include "framework level" queries.
2013-12-31 13:02:01 -05:00
Claude Paroz
b8e3373f45
Fixed #21714 -- Moved logging configuration to global setup()
...
Thanks Aymeric Augustin for the report and the review.
2013-12-31 18:35:00 +01:00
Aymeric Augustin
1d23d766ab
Renamed AppConfig.setup to ready.
...
Thanks Jannis and Marc for the feedback.
Fixed #21717 .
2013-12-31 18:04:54 +01:00
Aymeric Augustin
63137a8304
Enforced unicity of app labels.
...
Fixed #21679 .
2013-12-31 18:04:54 +01:00
Aymeric Augustin
c40209dcc0
Made it possible to change an application's label in its configuration.
...
Fixed #21683 .
2013-12-31 17:30:58 +01:00
Tim Graham
69f0249d7b
Fixed #19395 -- Added a simple example logging config.
...
Thanks ken.nelson at maclaren.com.
2013-12-31 10:20:44 -05:00
Aymeric Augustin
f46603f830
Fleshed out release notes for app loading.
...
Fixed #21715 .
2013-12-31 15:27:25 +01:00
Tim Graham
9953e98e6a
Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.
...
Thanks cjerdonek for the suggestion.
2013-12-31 08:14:09 -05:00
Aymeric Augustin
a5e2a0e569
Added release notes for today's app-loading improvements.
2013-12-31 00:10:49 +01:00
Aymeric Augustin
bfcc686d22
Removed the only_with_models_module argument of get_model[s].
...
Now that the refactorings are complete, it isn't particularly useful any
more, nor very well named. Let's keep the API as simple as possible.
Fixed #21689 .
2013-12-30 23:59:34 +01:00
Tim Graham
ec020cab7e
Fixed a broken link in docs/intro/tutorial01.txt.
2013-12-30 17:59:18 -05:00
Tim Graham
270f7e2167
Fixed #21708 -- Added some headings to separate unrelated topics.
...
Thanks ashley at ashleymills.com for the suggestion.
2013-12-30 17:55:12 -05:00
Tim Graham
0150830687
Fixed #21710 -- Documented User.get_short_name()
...
Thanks Keryn Knight for the report.
2013-12-30 17:42:11 -05:00
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
Baptiste Mispelon
0048ed77c7
Fixed typos in previous commit ( 9aa6d4bdb6
).
2013-11-12 20:42:44 +01:00
Baptiste Mispelon
9aa6d4bdb6
Removed a mention of `Form._errors` from the documentation.
...
Also removed a sentence that was incorrect: raising a
`ValidationError` inside `Form.clean` doesn't clear the
`cleaned_data` attribute.
Thanks to loic84 and timograham for the review.
2013-11-12 20:27:21 +01:00
Claude Paroz
0be7f57a90
Merge pull request #1907 from Bouke/tickets/21388
...
Fixed #21388 -- Corrected language code for Frisian
2013-11-11 09:33:55 -08:00
Sjoerd Langkemper
d87127655f
Fixed #21421 -- Added level_tag attribute on messages.
...
Exposing the level name (e.g. "info") makes it possible to prepend
something to the class name. For example, Twitter Bootstrap has
an alert-info class. This class can now be added to the message
using `class="alert-{{ message.level_tag }}".
Because the level_tag was on the end of the `tags` property, it
could not be used in this fashion when extra_tags were given.
2013-11-11 17:58:02 +01:00
Bouke Haarsma
4142d15102
Fixed #21388 -- Corrected language code for Frisian
2013-11-11 13:34:01 +01:00
Aymeric Augustin
15592a04d7
Merge pull request #1906 from DanSears/master
...
Added description of MySQL Connector/Python
2013-11-11 01:54:03 -08:00
Bouke Haarsma
9b7455e918
Fixed #21351 -- Replaced memoize with Python's lru_cache.
...
Replaced the custom, untested memoize with a similar decorator from Python's
3.2 stdlib. Although some minor performance degradation (see ticket), it is
expected that in the long run lru_cache will outperform memoize once it is
implemented in C.
Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of
replacing memoize with lru_cache.
2013-11-11 08:53:09 +01:00
DanSears
a17fc36231
added description of MySQL Connector/Python
...
Reorganized the MySQLdb section into a "MySQL DB API Drivers" section that describes both MySQLdb and MySQL Connector/Python. Included description of the Django adaptors for these DB API drivers.
2013-11-10 23:46:54 -08:00
Tim Graham
6c5f5b9a41
Fixed typo in tutorial 2; refs #21418 .
2013-11-10 06:10:13 -05:00
Bernardo Pires
8bc350b385
Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
...
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
2013-11-09 23:56:53 +01:00
Claude Paroz
e7383f16b4
Fixed #14800 -- Suppressed WSGIRequestHandler message filtering
...
Filtering out static file requests in runserver has been judged
arbitrary and can hide some debugging-related activity.
Thanks Roy Smith for the report and Aymeric Augustin for the
review.
2013-11-09 16:23:14 +01:00
Tim Graham
98de90d3d8
Fixed spelling of compatibility.
2013-11-09 10:17:17 -05:00
Tim Graham
d15985d81f
Fixed #21398 -- Fixed BCryptSHA256PasswordHasher with py-bcrypt and Python 3.
...
Thanks arjan at anymore.nl for the report.
2013-11-09 10:11:50 -05:00
Tim Graham
af2dc4ebb8
Fixed doc typo.
2013-11-09 10:09:25 -05:00
Baptiste Mispelon
c82e850eed
Fixed versionadded misuse in the admin documentation.
2013-11-09 15:08:57 +01:00
Vajrasky Kok
10a39debb2
Fixed #21378 -- Updated tutorial02 for how to override admin site header.
2013-11-09 07:18:46 -05:00
Tim Graham
14c1872d29
Recommended flake8 to check coding style.
2013-11-09 06:39:55 -05:00
Claude Paroz
e953c78eeb
Fixed #16969 -- Don't connect to named database when possible
...
Thanks Andreas Pelme for the report and initial patch, and
Aymeric Augustin, Shai Berger and Tim Graham for the reviews.
2013-11-09 09:42:17 +01:00
Cody Scott
a8e84521c4
Noted that .clear() will delete intermediary models
2013-11-08 19:24:31 -05:00
Tom Scholl
cab72a439b
Fixed docs for EmailMessage extra_headers attribute
...
The EmailMessage documentation describes the initialization parameters
and states they 'can be set at any time prior to calling the send()
method.'. However, the 'headers' parameter's corresponding attribute is
called 'extra_headers'.
2013-11-08 18:38:45 -05:00
glts
413307fe35
Added missing parameter in npgettext_lazy docs
2013-11-08 23:20:50 +01:00
Claude Paroz
bc21e9c0d9
Fixed #13970 -- Made SelectDateWidget use the standard widget is_required attribute
...
Thanks mitar for the report and Tim Graham for the review.
2013-11-08 16:58:17 +01:00
Claude Paroz
b780d03d62
Removed obsolete locale restriction admonition
...
Refs #14461 . Thanks Ramiro Morales for pointing this.
2013-11-08 16:47:19 +01:00
Baptiste Mispelon
f2e0266be7
Fixed #21396 : Document backwards-incompatible change in RedirectView.get_redirect_url.
...
Thanks to Tim for the review.
2013-11-08 10:47:36 +01:00
Bouke Haarsma
7a7c789d5a
Fixed #5849 -- Strip whitespace from blocktrans
...
Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.
This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PO file.
Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the
report.
2013-11-08 00:52:17 +02:00
Anssi Kääriäinen
30203a0dea
Merge pull request #1850 from unaizalakain/ticket_13725
...
Fixed #13725 -- take url scheme into account in assertRedirects
Thanks to Loic for review.
2013-11-07 14:30:04 -08:00
Unai Zalakain
9c5f6cd565
Fixed #13725 -- take url scheme into account in assertRedirects
...
Scheme is handled correctly when making comparisons between two URLs. If
there isn't any scheme specified in the location where we are redirected to,
the original request's scheme is used. If present, the scheme in
``expected_url`` is the one used to make the comparations to.
2013-11-07 19:06:32 +01:00
Tim Graham
c29dd76f40
Added 1.4.10 release notes.
2013-11-07 09:42:25 -05:00
Sylvain Bellemare
3935b0f263
Removed no longer relevant word
2013-11-07 09:31:44 -05:00
Jaap Roes
7be638390e
Fixed #20536 -- rewrite of the file based cache backend
...
* Safer for use in multiprocess environments
* Better random culling
* Cache files use less disk space
* Safer delete behavior
Also fixed #15806 , fixed #15825 .
2013-11-07 16:12:15 +02:00
Baptiste Mispelon
ac2d86f8d3
Added more items to the release checklist.
2013-11-07 14:45:59 +01:00
Loic Bistuer
f51c1f5900
Fixed #17001 -- Custom querysets for prefetch_related.
...
This patch introduces the Prefetch object which allows customizing prefetch
operations.
This enables things like filtering prefetched relations, calling select_related
from a prefetched relation, or prefetching the same relation multiple times
with different querysets.
When a Prefetch instance specifies a to_attr argument, the result is stored
in a list rather than a QuerySet. This has the fortunate consequence of being
significantly faster. The preformance improvement is due to the fact that we
save the costly creation of a QuerySet instance.
Thanks @akaariai for the original patch and @bmispelon and @timgraham
for the reviews.
2013-11-07 14:49:49 +02:00
Aymeric Augustin
ae029b440a
1.6 isn't under development any more.
...
Partial forward port of a71ff76
from stable/1.6.x.
2013-11-07 08:17:17 +01:00
Baptiste Mispelon
f16abe44a1
Added missing info to the release checklist.
2013-11-06 18:05:40 +01:00
Baptiste Mispelon
366bdc4566
Fixed typos in documentation.
2013-11-06 10:47:07 +01:00
Baptiste Mispelon
3c4832214f
Fixed another typo introduced by b914991b37
.
...
Thanks Claude for catching it.
2013-11-06 10:22:29 +01:00
Simon Charette
87908b4fc2
Fixed a documentation typo introduced by b914991b37
.
2013-11-05 19:38:46 -05:00
Baptiste Mispelon
b914991b37
Added more tests and documentation for dictsort.
...
It's possible to use something like {{ foo|dictsort:'bar.baz' }}
but this wasn't tested or documented.
2013-11-06 00:26:58 +01:00
Aymeric Augustin
c349bcbdf9
Improved English in release notes for runserver.
...
Thanks Tim.
2013-11-05 21:02:33 +01:00
Bouke Haarsma
e5e044da87
Fixed #18419 -- Full backwards compatibility for old language codes
...
Improved documentation about zh-* deprecation and upgrade path.
Thanks to Baptiste Mispelon for the code reviews.
2013-11-05 19:26:58 +01:00
Aymeric Augustin
da235c9a84
Improved changelog for runserver in 1.7.
2013-11-04 23:29:09 +01:00
Bouke Haarsma
c0a2388a1c
Fixed #18149 -- Changed language codes for Chinese
...
Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional).
Added support for browsers that still send the deprecated language codes.
Thanks to Olli Wang for the report.
2013-11-04 23:03:28 +01:00
Alex Gaynor
c347f78cc1
Fixed all E226 violations
2013-11-03 10:08:55 -08:00
Alex Gaynor
fe995e6cbd
Fixed the remaining E302 violations int eh django package
2013-11-02 17:37:15 -07:00
coagulant
3bc0d46a84
Fixed all E261 warnings
2013-11-02 18:20:39 -04:00
Boryslav Larin
e737c009b8
Fixed flake8 E241
2013-11-02 21:45:40 +02:00
Bouke Haarsma
9367b9e828
Django should be capitalized in text
2013-11-02 20:15:40 +01:00
Claude Paroz
88b9d4ff3a
Fixed #21373 -- Typo fixed in i18n docs
...
Thanks rpq at winscores.com for the report.
2013-11-02 19:13:29 +01:00
Unai Zalakain
99b681e227
Fixed #21341 -- Eased https requests with the test client
...
All request methods of ``django.test.client.Client`` receive a ``secure``
argument that defaults to ``False`` indicating whether or not to make the
request through https.
Thanks Aymeric Augustin for the review.
2013-11-02 19:03:13 +01:00
Aymeric Augustin
8b3d9d96ed
Merge pull request #1799 from Bouke/tickets/9523
...
Fixed #9523 -- Restart runserver after translation MO files change
2013-11-02 06:57:50 -07:00
Bouke Haarsma
073b974e66
Fixed #21354 -- Documented contrib.redirects defaults to 301 redirects
...
Thanks glarrain for the suggestion.
2013-11-02 09:52:28 -04:00
Bouke Haarsma
c3936c0d79
Fixed #9523 -- Restart runserver after translation MO files change
...
Thanks to Krzysztof Kulewski for the initial patch.
2013-11-02 10:29:07 +01:00
Tim Graham
090315f5df
Fixed spelling ("dependant" -> "dependent")
...
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
2013-11-01 21:29:39 -04:00
Sylvain Bellemare
c7dabe49dd
Fixed typo -- "a" user, not "an" user
2013-11-01 15:15:36 +01:00
Claude Paroz
89116cf24a
Fixed #21364 -- Specified InnoDB full-text support from MySQL 5.6.4 on
...
Thanks thevlad at gmail.com for the report.
2013-11-01 10:59:16 +01:00
Claude Paroz
67c6c1a7cb
Fixed #21359 -- Corrected MySQL collation name in databases docs
...
Thanks k_sze for the report.
2013-11-01 10:46:03 +01:00
Claude Paroz
0d9c149990
Fixed #21339 -- Documented removal of some form field error messages
2013-10-31 17:52:06 +01:00
Unai Zalakain
15f82c7011
Fixed #9722 - used pyinotify as change detection system when available
...
Used pyinotify (when available) to replace the "pool-every-one-second"
mechanism in `django.utils.autoreload`.
Thanks Chris Lamb and Pascal Hartig for work on the patch.
2013-10-30 11:45:43 -04:00
Tim Graham
eafe279120
Fixed #21306 -- Documented lower-casing behavior of title filter.
2013-10-30 09:33:28 -04:00
Tim Graham
51e6575472
Fixed #21294 -- Clarified the logout next_page argument.
...
Thanks wim at go2people.nl for the report.
2013-10-30 09:25:21 -04:00
Baptiste Mispelon
9fde42a69a
Fixed #20610 : Added a message level dict to contrib.message context processor.
2013-10-30 13:54:07 +01:00
Antoine Catton
e9a356a695
Documented the limitation on sep argument to Signer
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2013-10-30 08:26:33 -04:00
Tim Graham
1edef50880
Fixed #21316 -- Documented that modifying safe strings makes them unsafe.
...
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.
2013-10-30 08:11:31 -04:00
Tim Graham
b47a052eb5
Documented removal of django.core.servers.basehttp.WSGIServerException
...
refs 2ca00faa91
2013-10-30 07:46:07 -04:00
Unai Zalakain
fd219fa24c
Fixed #8261 -- ModelAdmin hook for customising the "show on site" button
...
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the
admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is
used to get the url. If it's a callable, the callable is called with the object
as the only parameter. If ``False``, not link is displayed.
With the aim of maitaining backwards compatibility, ``True`` is the default.
2013-10-29 17:10:12 -04:00
Alex Gaynor
6b560b50b9
Mark this as a python code-block
2013-10-29 07:26:06 -07:00
Tim Graham
ffcfb4cdcc
Fixed #21344 -- Typo in docs/ref/models/queries.txt
2013-10-28 14:52:26 -04:00
Eric Holscher
32f0f8489a
Fix note syntax usage.
...
http://sphinx.readthedocs.org/en/latest/markup/para.html?highlight=note#directive-note
2013-10-27 08:06:36 -07:00
Alex Gaynor
b35ff0d920
Fixed all the E203 violations
2013-10-26 18:27:42 -07:00
Tim Graham
cc2049cdd7
Fixed #21325 -- Added missing argument to permission_required decorator.
2013-10-25 17:36:07 -04:00
Paolo Melchiorre
3b0293370a
Fixed typo in docs/releases/1.4.9.txt.
2013-10-25 07:55:05 -04:00
Tim Graham
43cfc652d2
Fixed doc typo in previous commit.
2013-10-24 21:25:51 -04:00
SusanTan
4e0a2fe59c
Fixed #21271 -- Added timeout parameter to SMTP EmailBackend.
...
Thanks Tobias McNulty and Tim Graham for discussions and code review.
Thanks Andre Cruz the suggestion and initial patch.
2013-10-24 20:38:00 -04:00
Vajrasky Kok
9eecb91695
Fixed #21219 -- Added a way to set different permission for static files.
...
Previously, when collecting static files, the files would receive permission
from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different
permission from uploaded files permission by subclassing any of the static
files storage classes and setting the file_permissions_mode parameter.
Thanks dblack at atlassian.com for the suggestion.
2013-10-24 17:40:01 -04:00
Claude Paroz
c052699be3
Fixed #20338 -- Stripped ending dot during host validation
...
Thanks manfre for the report and Timo Graham for the review.
2013-10-24 21:24:04 +02:00
Curtis Maloney
8688f03eef
Fixed #20945 -- Allowed cache tag to use a specific cache.
2013-10-23 19:27:08 -04:00
Tim Graham
4ce5c119b5
Bumped release date for 1.5.5 & 1.4.9.
2013-10-23 18:28:41 -04:00
Tim Graham
c573d6de17
Fixed #19941 -- Removed sys.path hack when running the test suite.
...
Thanks jezdez for the suggestion.
2013-10-23 18:27:06 -04:00
Collin Anderson
d72059c2ae
typo on 1.7 release notes
2013-10-23 10:56:13 -04:00
Shai Berger
317040a73b
Fixed #13245 : Explained Oracle's behavior w.r.t db_table
...
and how to prevent table-name truncation
Thanks russellm & timo for discussion, and timo for review.
2013-10-23 14:51:22 +03:00
Tim Graham
ae48d77ef8
Fixed E225 pep8 warnings.
2013-10-23 06:09:29 -04:00
Tim Graham
2eb8f15516
Added 1.5.5 and 1.4.9 release notes
2013-10-22 17:41:10 -04:00
Tim Graham
9704c49d59
Fixed #21304 -- Typo in docs/topics/testing/advanced.txt
...
Thanks joao at silvaneves.org for the report.
2013-10-22 12:05:26 -04:00
Florian Hahn
5240b83462
Fixed #17027 -- Added support for the power operator in F expressions.
...
Thanks dan at dlo.me for the initial patch.
- Added __pow__ and __rpow__ to ExpressionNode
- Added oracle and mysql specific power expressions
- Added used-defined power function for sqlite
2013-10-22 10:29:57 -04:00
Tim Graham
1597503a01
Fixed E221 pep8 warnings.
2013-10-22 09:51:39 -04:00
Bouke Haarsma
0d0f4f020a
Fixed #5789 -- Changed LocaleMiddleware session variable to '_language'.
...
The old 'django_language' variable will still be read from in order
to migrate users. The backwards-compatability shim will be removed in
Django 1.8.
Thanks to jdunck for the report and stugots for the initial patch.
2013-10-22 09:24:42 -04:00
Phil Elson
2110b31365
Fixed indentation of example in tutuorial 2.
2013-10-22 08:10:56 -04:00
Tim Graham
28b70425af
Added docs for the hasher's iteration count changes.
2013-10-21 20:32:02 +02:00
Riccardo Magliocchetti
1e39982b6e
Fixed #21296 -- Added docs for PostgreSQL and unix domains sockets.
2013-10-21 13:02:21 -04:00
Alasdair Nicol
b289fcf1bf
Fixed #21288 -- Fixed E126 pep8 warnings
2013-10-21 08:31:30 -04:00
Juergen Schackmann
f8632572ad
Fixed #21212 -- Documented the reverse name for OneToOneField.
...
Thanks bjb at credil.org for the report.
2013-10-18 16:19:05 -04:00
Tim Graham
a3372f67cb
Added a warning regarding session security and subdomains.
2013-10-18 09:42:45 -04:00
Tim Graham
651bb73ab3
Fixed ReST error in 1.6. release notes.
2013-10-18 08:47:28 -04:00
Alasdair Nicol
dfb4cb9970
Fixed #21285 -- Fixed E121,E122 pep8 warnings
2013-10-17 20:20:11 -04:00
Tim Graham
d97bec5ee3
Removed 1.6 release note text regarding password limit length.
...
This changed was reverted in 5d74853e15
.
2013-10-17 18:58:24 -04:00
Bouke Haarsma
2fb5a51fa3
Fixed #18659 -- Deprecated request.REQUEST and MergeDict
...
Thanks Aymeric Augustin for the suggestion.
2013-10-17 09:42:28 -04:00
Marc Tamlyn
349c12d3f5
Fixed #16855 -- select_related() chains as expected.
...
select_related('foo').select_related('bar') is now equivalent to
select_related('foo', 'bar').
Also reworded docs to recommend select_related(*fields) over select_related()
2013-10-15 15:59:36 +01:00
Daniele Procida
ec0e780e7f
Merge pull request #1751 from tmaster/ticket_21006_improvement
...
Improvement on InlineFormSet doc, refs #21006
2013-10-15 06:56:25 -07:00
Tianyi Wang
944a2bb7c1
Improvement on InlineFormSet doc, refs #21006
2013-10-15 14:51:45 +01:00
Unai Zalakain
c7634cd7fe
Fixed #7603 -- Added a 'scheme' property to the HttpRequest object
...
`HttpRequest.scheme` is `https` if `settings.SECURE_PROXY_SSL_HEADER` is
appropriately set and falls back to `HttpRequest._get_scheme()` (a hook
for subclasses to implement) otherwise.
`WSGIRequest._get_scheme()` makes use of the `wsgi.url_scheme` WSGI
environ variable to determine the request scheme.
`HttpRequest.is_secure()` simply checks if `HttpRequest.scheme` is
`https`.
This provides a way to check the current scheme in templates, for example.
It also allows us to deal with other schemes.
Thanks nslater for the suggestion.
2013-10-15 09:04:12 -04:00
Tianyi Wang
9bfe66164e
Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.
...
Thanks treysta at gmail.com for the suggestion.
2013-10-15 07:34:29 -04:00
Marc Tamlyn
ce823d3710
Merge pull request #1382 from loic/ticket19617
...
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-15 04:22:34 -07:00
Sorcha Bowler
018e2c055a
Fixed #21223 -- Added form.id_for_label to topic guide.
...
Thanks ebertti at yahoo.com.br for the suggestion.
2013-10-14 18:41:22 -04:00
M Nasimul Haque
d07d6ae116
Fixed #20910 -- Added a "snippet" sphinx directive to allow prefixing a filename.
...
Thanks Marc Tamlyn for the suggestion.
2013-10-14 13:00:57 -04:00
Bouke Haarsma
e077224f4a
Fixed #20962 -- Documented that template tag render() may raise exceptions.
...
Thanks Keryn Knight for the report.
2013-10-14 11:53:15 -04:00
Loic Bistuer
b16dd1fe01
Fixed #8620 -- Updated the Form metaclass to support excluding fields by shadowing them.
2013-10-14 22:42:33 +07:00
Loic Bistuer
ac5ec7b8bc
Fixed #19617 -- Refactored Form metaclasses to support more inheritance scenarios.
...
Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-14 21:59:30 +07:00
Loic Bistuer
54cd930baf
Clarfied the ModelForm docs with respect to generated vs. declared fields.
...
The ModelForm docs suggested that fields defined declaratively override
default fields generated from the form Meta.
This is conceptually wrong, especially with inheritance in mind. Meta is
usually defined on the topmost ModelForm subclass, while fields can come
from anywhere in the MRO, especially base classes; therefore we suggested
that something defined in a base class override something from a subclass.
This patch rephrases the docs around the idea that Meta is used to generate
*missing* fields.
Refs #8620 , #19617 .
Thanks @mjtamlyn and @timgraham for the review.
2013-10-14 10:54:22 -04:00
Bouke Haarsma
9b7d38ed5a
Fixed #21210 -- Documented when runserver doesn't auto-restart.
...
Thanks gergely at polonkai.eu for the suggestion.
2013-10-14 10:36:18 -04:00
Bouke Haarsma
8fc63087f6
Fixed #21264 -- Incorrect RST usage in docs
2013-10-14 08:14:27 -04:00
Max Vizard
13ddf0e002
Fixed #21027 -- Updated tutorial 5 docs to link to management shell command page.
2013-10-14 08:07:44 -04:00
Claude Paroz
1e8eadc94e
Fixed #15888 -- Made tablename argument of createcachetable optional
...
Thanks Aymeric Augustin for the report and the documentation and
Tim Graham for the review.
2013-10-14 13:24:40 +02:00
Marc Tamlyn
b600bb7e08
Amend my description in committers.txt.
2013-10-14 11:54:37 +01:00
Aymeric Augustin
570d9c2678
Fixed #19560 -- Identified field in warning for naive datetime.
...
Thanks gcc for the report and vajrasky for the patch.
2013-10-13 11:54:11 +02:00
Ramiro Morales
18ea1c473b
Forms docs: More emphasis in 'id' value customizability.
2013-10-12 13:29:11 -03:00
Claude Paroz
21c2bfdff3
Updated OpenLayers version from 2.11 to 2.13
2013-10-12 18:08:07 +02:00
Tim Graham
dd839a2dfd
Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.
...
Thanks slinkp for the suggestion.
2013-10-11 20:11:49 -04:00
Cody Scott
8bfc7cc64c
Minor edits to docs/topics/db/queries.txt.
2013-10-11 15:34:11 -04:00
Tai Lee
e527c0b6d8
Fixed #13252 -- Added ability to serialize with natural primary keys.
...
Added ``--natural-foreign`` and ``--natural-primary`` options and
deprecated the ``--natural`` option to the ``dumpdata`` management
command.
Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys``
arguments and deprecated the ``use_natural_keys`` argument to
``django.core.serializers.Serializer.serialize()``.
Thanks SmileyChris for the suggestion.
2013-10-11 12:52:57 -04:00
Tim Graham
945e033a69
Fixed #8918 -- Made FileField.upload_to optional.
...
Thanks leahculver for the suggestion and dc and vajrasky for work
on the patch.
2013-10-11 08:07:25 -04:00
Cody Scott
695bc0d191
Small improvements to docs/topics/db/models.txt
2013-10-10 20:56:11 -04:00
Tim Graham
1dae4ac177
Whitespace cleanup.
...
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
2013-10-10 16:49:20 -04:00
Tim Graham
9700194195
Fixed #21222 - Documented that 'default' and 'other' must be different databases when running tests.
...
Thanks vernondcole for the suggestion.
2013-10-09 11:42:27 -04:00
Claude Paroz
1b9c72fc4f
Fixed grammar/typos in auth customization docs
2013-10-09 16:21:19 +02:00
Dan Loewenherz
43f213e475
Fix grammatical errors in email documentation
2013-10-08 09:21:45 -05:00
Russell Keith-Magee
ddb53856b6
Fixed #21164 -- Added documentation for issue with test users.
...
The package renaming restores the older package names (which were also the
documented package names). This doesn't affect test discovery because the
module in question doesn't contain any tests.
Thanks to Carl for the design discussion.
2013-10-08 10:32:56 +08:00
Ramiro Morales
67f5dffbec
Re-added link to SQLite notes from DB section of install doc.
2013-10-07 07:40:41 -03:00
Unai Zalakain
3895d8899d
Fixed #21213 -- Added docs for Django's mailing lists.
...
Added docs/internals/mailing-lists.txt documenting the use of django's
mailing lists. All references across docs changed to point to this page.
The referencing makes use of substitution because there's no way to make
a :ref: link in a non-inline fashion in Sphinx. It also makes use of
rst_epilog Sphinx conf for making this substitutions across all the
docs.
2013-10-04 10:00:36 -04:00
Ryan Kaskel
8b0014869f
Fixed #19321 -- Allowed redirect middleware HTTP responses to be overridden.
...
Thanks Melevir for the suggestion.
2013-10-04 07:36:39 -04:00
Tim Graham
36e220f923
Fixed #21218 -- Typo on docs/howto/upgrade-version.txt
...
Thanks ryan at ryangallen.com for the report.
2013-10-03 20:13:33 -04:00
Emil Stenström
7a97df190c
Fixed #19277 -- Added LocaleMiddleware.response_redirect_class
...
Thanks ppetrid at yawd.eu for the suggestion.
2013-10-03 16:15:29 -04:00
Simon Charette
fa2e1371cd
Fixed #21216 -- Allow `OneToOneField` reverse accessor to be hidden.
2013-10-03 13:20:05 -04:00
Tim Graham
75bb6ba966
Fixed #10913 -- Documented how related_name affects QuerySet filtering
...
Thanks neithere for the suggestion.
2013-10-02 12:12:53 -04:00
Baptiste Mispelon
e1b7723817
Changed the doc to use gender-neutral pronouns when possible.
2013-10-02 16:41:04 +02:00
Tim Graham
00a0d3de02
Clarified session replay attack differences with cookie backend.
2013-10-02 10:15:18 -04:00
Ramiro Morales
1d0fc61b1c
Fixed #15185 -- Allowed ModelAdmin.list_display_links=None to disable change list links.
...
Thanks rm_ for the suggestion.
2013-10-01 14:25:54 -04:00
Michael Manfre
bf757a2f4d
Fixed #21147 -- Avoided time.time precision issue with cache backends.
...
The precision of time.time() is OS specific and it is possible for the
resolution to be low enough to allow reading a cache key previously set
with a timeout of 0.
2013-10-01 13:42:59 -04:00
Tim Graham
32e40bbe71
Fixed #21031 -- Updated schema migrations FAQ.
...
Thanks ramiro for the report.
2013-10-01 10:39:03 -04:00
Tim Graham
b66a51ad54
Fixed #21195 -- Clarifed usage of template_name in tutorial part 4.
2013-10-01 10:08:36 -04:00
Curtis Maloney
c39c9f2ad8
Fixed #21154 -- Updated TemplateResponse docs to better explain context.
...
Thanks mrmachine for the report.
2013-09-30 10:19:56 -04:00
Aymeric Augustin
728548e483
Fixed #21134 -- Prevented queries in broken transactions.
...
Squashed commit of the following:
commit 63ddb271a44df389b2c302e421fc17b7f0529755
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 29 22:51:00 2013 +0200
Clarified interactions between atomic and exceptions.
commit 2899ec299228217c876ba3aa4024e523a41c8504
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 22 22:45:32 2013 +0200
Fixed TransactionManagementError in tests.
Previous commit introduced an additional check to prevent running
queries in transactions that will be rolled back, which triggered a few
failures in the tests. In practice using transaction.atomic instead of
the low-level savepoint APIs was enough to fix the problems.
commit 4a639b059ea80aeb78f7f160a7d4b9f609b9c238
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Sep 24 22:24:17 2013 +0200
Allowed nesting constraint_checks_disabled inside atomic.
Since MySQL handles transactions loosely, this isn't a problem.
commit 2a4ab1cb6e83391ff7e25d08479e230ca564bfef
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Sep 21 18:43:12 2013 +0200
Prevented running queries in transactions that will be rolled back.
This avoids a counter-intuitive behavior in an edge case on databases
with non-atomic transaction semantics.
It prevents using savepoint_rollback() inside an atomic block without
calling set_rollback(False) first, which is backwards-incompatible in
tests.
Refs #21134 .
commit 8e3db393853c7ac64a445b66e57f3620a3fde7b0
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 22 22:14:17 2013 +0200
Replaced manual savepoints by atomic blocks.
This ensures the rollback flag is handled consistently in internal APIs.
2013-09-30 09:42:27 +02:00
Russell Keith-Magee
9595183d03
Fixed #13724 : Corrected routing of write queries involving managers.
...
Previously, if a database request spanned a related object manager, the
first manager encountered would cause a request to the router, and this
would bind all subsequent queries to the same database returned by the
router. Unfortunately, the first router query would be performed using
a read request to the router, resulting in bad routing information being
used if the subsequent query was actually a write.
This change defers the call to the router until the final query is acutally
made.
It includes a small *BACKWARDS INCOMPATIBILITY* on an edge case - see the
release notes for details.
Thanks to Paul Collins (@paulcollinsiii) for the excellent debugging
work and patch.
2013-09-30 13:05:43 +08:00
Ramiro Morales
5866a49369
Note about static files dirs paths on Windows.
...
Added it to the settings reference. We used to have it in comment form
in our old, bigger default project template settings.py file.
2013-09-28 20:32:55 -03:00
Erik Romijn
1a63092981
Fixed #20439 -- Started deprecation of IPAddressField
2013-09-28 10:55:32 +02:00
Carl Meyer
8a4f5de4b6
Fixed malformed directive in CBV date-based-mixins docs.
2013-09-27 11:58:41 -06:00
Preston Holmes
90cd676d29
Added missing word in bio update.
...
I a word :-/
2013-09-26 21:08:48 -07:00
Preston Holmes
48f657aa29
Updated my bio.
2013-09-26 14:46:06 -07:00
Michael Manfre
99c87f1410
Fixed #17671 - Cursors are now context managers.
2013-09-25 21:47:26 +03:00
Loic Bistuer
04a2a6b0f9
Fixed #3871 -- Custom managers when traversing reverse relations.
2013-09-25 21:15:59 +03:00
Baptiste Mispelon
42b9feb2e7
Fixed wording in unit tests documentation.
2013-09-25 18:24:30 +02:00
Tim Graham
15ed75d632
Updated a code block to use the emphasize-lines Sphinx option
2013-09-25 11:39:38 -04:00
Tim Graham
77f6b468e5
Fixed #21137 -- Corrected ULRconf include example.
...
Thanks marfire for the report.
2013-09-24 09:41:12 -04:00
Brett Koonce
946a2226ea
Removed extra p (topppings->toppings)
2013-09-23 19:24:40 -04:00
Tim Graham
45969bdeb5
Removed implication that six is part of Python stdlib.
2013-09-23 18:30:05 -04:00
Louis Fill
e15f7f31d0
Fixed #21070 -- Added a more complex database configuration example.
...
Thanks joejasinski for the suggestion.
2013-09-23 12:18:00 -04:00
Daley Chetwynd
a53caf28bf
Fixed #20830 -- Clarified that Django uses a customized version of six.
...
Thanks glarrain for the suggestion.
2013-09-23 11:03:50 -04:00
Åke Forslund
6a30075eaa
Fixed #21140 -- Added 'Using cached sessions' to the performance guide.
...
Thanks EvilDMP for the suggestion.
2013-09-23 10:50:19 -04:00
Ben Huckvale
98e0453f00
Fixed #21120 -- Added more explicit text on using validators and link to writing validators.
...
Thanks nicolas at niconomicon.net for the suggestion.
2013-09-23 10:37:41 -04:00
Tim Garner
c81b6f7b83
Fixed #21702 -- Added different bullet styles for nested lists.
...
Thanks moc at mocpa.com for the suggestion.
2013-09-23 07:37:09 -04:00
Ramiro Morales
bebb449ac3
Added docs for changes in commit dd3a883894
.
...
Refs #20693 .
2013-09-22 15:43:27 -03:00
Rogério Yokomizo
1b4b710355
Fixed #21141 -- Update Sphinx URL
...
Updated Sphinx URL from http://sphinx.pocoo.org/ to http://sphinx-doc.org/ .
2013-09-22 14:44:09 -03:00
Ramiro Morales
ce0c5c38ea
A few doc additions for changes from d228c1192e
.
2013-09-22 13:46:16 -03:00
Ramiro Morales
9dc45efeba
Reference Meta.index_together in DB performance guide.
2013-09-22 11:11:02 -03:00
Michael DiBernardo
222460a994
Fixed #21137 -- Documented best practice for URLconfs with repeated pattern prefixes.
2013-09-21 18:17:21 -04:00
mlissner
d8f2d940cc
Correct very minor typo
...
Just changed as to has.
2013-09-21 13:34:45 -07:00
Aymeric Augustin
ec2b91f48b
Merge pull request #1655 from evildmp/ticket_20877_work_in_progress
...
Addressed inaccuracies in performance docs
2013-09-21 10:09:57 -07:00
Aymeric Augustin
11187386f4
Addressed inaccuracies in performance docs
...
* Move the discussion of CachedStaticFilesStorage to the section about
HTTP. It's really about client-side caching. It doesn't fit with the
caching utilities from django.utils.functional.
* Tone down the warning against Pypy as per Alex' feedback. It's a valid
choice for advanced users who are comfortable using a non-standard
stack.
* Generally reworded the 'Using different versions of available software'
section.
* Some other minor adjustments to the document.
2013-09-21 16:41:26 +01:00
Alexander
3ea0194bb4
- missing __init__.py
2013-09-21 18:28:05 +04:00
Curtis Maloney
43a2ec7999
Fixed #21133 --Clarifed documentation about strftime formatting.
2013-09-21 06:42:11 -04:00
evildmp
dc8f95b639
Fixed #20877 -- added a performance optimization guide
2013-09-20 23:21:49 +01:00
Aymeric Augustin
4db2752e28
Clarified why one must not catch database errors inside atomic.
2013-09-20 21:56:35 +02:00
tschilling
0d1ba84d13
Fixed #20702 -- Deprecated get_formsets in favor of get_formsets_with_inlines.
...
Thanks stanislas.guerra at gmail.com for the report.
2013-09-20 07:47:24 -04:00
Paul McMillan
f8f47718ab
Merge pull request #1644 from PaulMcMillan/bump_hash_iterations
...
Increase default PBKDF2 iterations
2013-09-19 12:17:56 -07:00
Markus Amalthea Magnuson
2c5c422d34
Added missing "in" in sentence.
2013-09-19 13:26:01 -04:00
yokomizor
df27803a55
Fixed #9532 -- Added min_num and validate_min on formsets.
...
Thanks gsf for the suggestion.
2013-09-19 13:11:49 -04:00
Paul McMillan
a075e2ad0d
Increase default PBKDF2 iterations
...
Increases the default PBKDF2 iterations, since computers have gotten
faster since 2011. In the future, we plan to increment by 10% per
major version.
2013-09-19 18:02:25 +01:00
Curtis Maloney
4e9f800742
Fixed #21125 -- Removed support for cache URI syntax
2013-09-19 10:01:39 -04:00
Russell Keith-Magee
9d3e60aa3e
Reworked security issue list to be per-issue, not per-release.
2013-09-19 14:57:01 +08:00
Russell Keith-Magee
8e134c27c9
Corrected markup problems in new security summary page.
2013-09-19 13:57:02 +08:00
Alex Gaynor
8b3bae9466
Fixed two typos in the docs
2013-09-18 23:29:55 -05:00
Alex Gaynor
c65ae7c969
Fixed a typo in the docs
2013-09-18 23:26:24 -05:00
James Bennett
a2e25e8a83
Fix #21121 : Add archive of security issues.
2013-09-18 23:13:04 -05:00
Brian Holdefehr
98514849dc
Fixed #19414 -- Added admin registration decorator
...
Thanks stavros for the suggestion.
2013-09-18 11:44:10 -04:00
Tim Graham
d1c9802811
Fixed #21116 -- Made usage of manage.py in docs more consistent.
...
Thanks daniel.quattro at gmail.com for the report.
2013-09-18 10:35:41 -04:00
Berker Peksag
2f0566fa61
Fixed #4278 -- Added a dirs parameter to a few functions to override TEMPLATE_DIRS.
...
* django.template.loader.get_template()
* django.template.loader.select_template()
* django.shortcuts.render()
* django.shortcuts.render_to_response()
Thanks amcnabb for the suggestion.
2013-09-18 07:37:08 -04:00
Tim Graham
5be56d0e0d
Fixed #21024 -- Documented how to deprecate a feature.
2013-09-17 13:23:32 -04:00
Aymeric Augustin
5abc43cabf
Updated examples in the docs after eade315d
.
2013-09-17 10:05:45 +02:00
Ramiro Morales
9d12f68a53
Reworded a paragraph in the logging docs.
2013-09-16 17:49:46 -03:00
Tim Graham
18ffdb1772
Fixed #17627 -- Renamed util.py files to utils.py
...
Thanks PaulM for the suggestion and Luke Granger-Brown and
Wiktor Kołodziej for the initial patch.
2013-09-16 12:52:05 -04:00
Tim Graham
8d29005524
Cleaned up 1.5.4/1.4.8 release notes
2013-09-15 14:14:26 -04:00
Russell Keith-Magee
aae5a96d57
Ensure that passwords are never long enough for a DoS.
...
* Limit the password length to 4096 bytes
* Password hashers will raise a ValueError
* django.contrib.auth forms will fail validation
* Document in release notes that this is a backwards incompatible change
Thanks to Josh Wright for the report, and Donald Stufft for the patch.
This is a security fix; disclosure to follow shortly.
2013-09-15 13:42:23 +08:00
Goetz
39b49fd339
Fixed #21101 -- Updated urlize documentation to mention email addresses
2013-09-13 12:42:06 -04:00
Tim Graham
ec89e1725a
Fixed #21100 -- Noted that Create/UpdateViews.fields is new in 1.6
...
Thanks AndrewIngram for the suggestion.
2013-09-13 09:34:12 -04:00
Tim Graham
e4aab1bb8d
Fixed #21094 -- Updated reuseable apps tutorial to use pip for installation.
...
Thanks ylb415 at gmail.com for the suggestion.
2013-09-13 09:29:21 -04:00
Kevin Christopher Henry
990ce9aab9
Documentation -- added instructions on working with pull requests
...
Since non-core contributors are asked to review patches, instructions
on working with pull requests were added to the Working with Git and
GitHub page (based on the existing instructions in the core
committers page).
2013-09-13 08:26:46 -04:00
Matt Austin
9451d8d558
Fixed #21095 -- Documented new requirement for dates lookups.
...
Day, month, and week_day lookups now require time zone definitions in the database.
2013-09-13 09:56:19 +02:00
Ramiro Morales
8b366a50f4
Fixed a couple of typos in GeoDjango docs.
2013-09-12 19:36:45 -03:00
Phaneendra Chiruvella
bd72c2acb6
Minor typo fix in django.contrib.auth.models.User docs
2013-09-12 03:15:00 +05:30
Tim Graham
da843e7dba
Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.
...
Thanks EvilDMP for the report and Russell Keith-Magee
for the draft text.
2013-09-11 08:17:15 -04:00
Kevin Christopher Henry
5eca021d48
Documentation -- Improved description of cache arguments
...
- Fixed some grammar and formatting mistakes
- Added the type and default for CULL_FREQUENCY
- Made the note on culling the entire cache more precise. (It's actually
slower on the filesystem backend.)
2013-09-11 07:42:49 -04:00
Tim Graham
baec6a26dd
Added 1.4.7/1.5.3 release notes
2013-09-10 21:07:22 -04:00
Tarjei Husøy
751dc0a36b
Fix broken sphinx reference to staticfiles.
2013-09-10 22:10:00 +02:00
Juan Catalano
4840fd9cbc
Fixed #20919 -- Extended assertRedirects to be able to avoid fetching redirect's response.
...
Thanks mjtamlyn for the suggestion.
2013-09-10 12:22:55 -04:00
Tim Graham
0ac7cc3265
Fixed #21083 - Fixed spelling in tutorial.
...
Thanks jimmy.kjaersgaard at gmail.com for the report.
2013-09-10 09:54:26 -04:00
Tim Graham
4ba373840a
Fixed #16534 -- Improved ability to customize DiscoverRunner
...
Added DiscoverRunner.test_suite and .test_runner attributes.
Thanks tomchristie for the suggestion and jcd for the patch.
2013-09-10 09:49:39 -04:00
oz123
fca4c4826e
Fixed #21075 - Improved doc for calling call_command with arguments.
2013-09-10 09:17:47 -04:00
Romain B.
522d3d6132
Fixed a little mistake in Django 1.7 release notes
2013-09-09 19:02:41 -04:00
Aymeric Augustin
ec2778b445
Fixed #17262 -- Refactored tzinfo implementations.
...
This commit deprecates django.utils.tzinfo in favor of the more recent
django.utils.timezone which was introduced when Django gained support
for time zones.
2013-09-09 22:32:51 +02:00
Kevin Christopher Henry
9d700322b3
Fixed #19885 -- cleaned up the django.test namespace
...
* override_settings may now be imported from django.test
* removed Approximate from django.test
* updated documentation for things importable from django.test
Thanks akaariai for the suggestion.
2013-09-09 16:03:13 -04:00
Tim Graham
910a5760f6
Improved release notes for ticket #10164
...
Thanks Aymeric for the suggestions.
refs #10164
2013-09-09 14:22:29 -04:00
Tim Graham
fb51c9a0f2
Fixed spelling; refs #16895 .
...
Thanks Panagiotis Issaris for the report.
2013-09-09 11:30:31 -04:00
e0ne
cbf08c6b0c
Fixed #16895 -- Warned about cost of QuerySet ordering
...
Thanks outofculture at gmail.com for the suggestion.
2013-09-09 09:47:18 -04:00
Baptiste Mispelon
28a571348b
Fix #20745 : Don't silence TypeError raised inside templates.
...
Thanks to robin for the report and claudep for the review.
2013-09-08 22:05:35 +02:00
Aymeric Augustin
fa7bc24671
Repositioned two paragraphs in the release notes.
2013-09-08 11:23:37 +02:00
Tim Graham
e4b012feeb
Fixed #21068 -- Added some docs for DiscoverRunner
...
Thanks jcd.
2013-09-07 16:10:07 -04:00
Aymeric Augustin
e192739b3e
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
2013-09-07 14:08:54 -05:00
Tim Graham
a86ecc80a2
Fixed #20005 -- Documented that Oracle databases need execute permission on SYS.DBMS_LOB.
...
Thanks jafula for the suggestion.
2013-09-07 13:59:57 -04:00
Jacob Kaplan-Moss
a44cbca2a5
Added a note about LTS releases.
2013-09-07 12:47:48 -05:00
Rodolfo
d34b94b00f
Fixed #20876 -- Changed Poll model name in tutorial to Question
2013-09-07 13:37:09 -04:00
Tim Graham
4e784f337c
Fixed #20938 -- Added cached sessions note to deployment checklist.
...
Thanks mjtamlyn for the suggestion.
2013-09-07 12:58:49 -04:00
Tim Graham
ff49449425
Merge pull request #1592 from pablomouzo/fix-admin-view-response-methods-docs
...
Improved docs for `contrib.admin.options.ModelAdmin.response_*`
2013-09-07 09:38:48 -07:00
Pablo Mouzo
2223b83a55
Improved docs for `contrib.admin.options.ModelAdmin.response_*`
...
Added links to code references in the docs for `response_add`,
`response_change` and `response_delete`.
2013-09-07 11:33:10 -05:00
Keith Edmiston
c54fa1a7bc
Fixed 16992 -- Added InnoDB warning regarding reuse of AUTO_INCREMENT values.
...
Thanks kent at nsc.liu.se for the report.
2013-09-07 12:13:45 -04:00
Pablo Mouzo
9079436b00
Add docs for `response_add`, `response_change` and `response_delete`
2013-09-07 11:01:35 -05:00
Tim Graham
0c295a7718
Fixed a link in topics/testing/overview.txt
2013-09-06 17:41:12 -04:00
Keith Edmiston
028db97503
Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
2013-09-06 17:26:15 -04:00
Andrew Godwin
efd1e6096e
Adding 'sqlmigrate' command and quote_parameter to support it.
2013-09-06 15:28:12 -05:00
Tim Graham
5ca290f5db
Fixed some sphinx errors and added some links.
2013-09-06 16:15:35 -04:00
Tim Graham
db3de52807
Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDS
...
Thanks craigbruce.
2013-09-06 16:01:29 -04:00
Adrian Holovaty
c7c19ac408
Added new AdminSite attributes to 1.7 release notes
2013-09-06 14:27:40 -05:00
Adrian Holovaty
d179fc72cf
Fixed versionadded and ordering of note in admin/index.txt
2013-09-06 14:23:29 -05:00
Tim Graham
38d2e7c225
Merge pull request #1567 from technivore/ticket_20970
...
re-indented method documentation within RelatedManager
2013-09-06 12:07:25 -07:00
Matthew Rich
af67b93c02
re-indented method documentation within RelatedManager
2013-09-06 13:44:40 -05:00
Tim Graham
cd4068f359
Fixed instructions for running a subset of tests.
2013-09-06 14:31:27 -04:00
Daniele Procida
263eecc583
Merge pull request #1544 from evildmp/ticket_20920_rebase
...
Fixed #20920 -- Consolidated F() and Q() documentation
2013-09-06 11:27:58 -07:00
evildmp
79cc66692a
Consolidated documentation for F() and Q()
2013-09-06 12:57:25 -05:00
Adrian Holovaty
a962286b74
Added AdminSite attributes for easily changing admin title.
...
AdminSite now has overridable site_header, site_title and index_title attributes. Changed
each admin view to pass these to the context (in a new AdminSite.each_context() method).
The intent here is to make it easier to override these things in the common case, instead of
having to override a template, which is a bigger burden.
2013-09-06 12:31:50 -05:00
Jacob Kaplan-Moss
ffe21e1f40
Merge pull request #1560 from technivore/ticket_20970
...
Related Fields documentation improvements
2013-09-06 10:11:05 -07:00
Daniel Boeve
b69d1eac64
Fixed #20975 -- Fixed identation in docs/internals/committers.txt
...
Thanks EvilDMP for the report.
2013-09-06 13:04:13 -04:00
Matthew Rich
a5bcc09c8f
documented RelatedManager calling save() behind the scenes, added section on direct replacement of related object set
2013-09-06 11:37:08 -05:00
Chris Wilson
eade315da1
Fixed #10164 -- Made AutoField increase monotonically on SQLite
...
Thanks malte for the report.
2013-09-06 12:31:17 -04:00
Preston Timmons
8625c7aab3
Fixed #16096 -- Added origin attribute to template instances.
...
Thanks jdunck for the suggestion.
2013-09-06 09:14:52 -04:00
Eric Boersma
4d13cc56de
Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
...
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
2013-09-05 20:14:58 -04:00
micahhausler
93dd31cadf
Fixed #21047 -- Added CLA mesage on the new contributor advice doc
2013-09-05 17:52:36 -04:00
Aymeric Augustin
6a6428a36f
Took advantage of django.utils.six.moves.urllib.*.
2013-09-05 14:39:23 -05:00
CHI Cheng
ed9cd4fd8b
Fixed #21000 -- Made cached_db session backend respect SESSION_CACHE_ALIAS
2013-09-05 10:47:58 -04:00
Tim Graham
d70908e9c2
Merge pull request #1549 from loic/docs
...
Removed "makemigrations --force" from docs since it doesn't actually exist.
2013-09-05 06:02:28 -07:00
Tim Graham
eacf060e01
Fixed #21044 -- Documented django.core.urlresolvers.Resolver404
...
Thanks Keryn Knight for the suggestion.
2013-09-05 08:45:33 -04:00
Tim Graham
7b62b80693
Fixed #20900 -- Documented RemoteUserBackend.authenticate
2013-09-05 05:56:03 -04:00
Tim Graham
ebfe42d018
Fixed #21009 -- Added a versionchanged note regarding changes to clean().
...
refs [fb1dd6b13a
] and [1c4a9bd9ad
]
2013-09-05 05:47:45 -04:00
Loic Bistuer
b7af44d474
Removed "makemigrations --force" from docs since it doesn't actually exist.
2013-09-05 02:33:05 +07:00
Tim Graham
533d1ab334
Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed in forms.
...
Thanks marky1991.
2013-09-04 13:18:08 -04:00
Paul C. Anagnostopoulos
1ccdc08189
Clarified docs for some tags and filters
2013-09-04 12:32:05 -04:00
Loic Bistuer
7b04038a7f
Fixed #20973 -- Document serving static files without django.contrib.staticfiles
2013-09-03 08:59:08 -04:00
Tim Graham
3baf1d1042
Fixed #21002 -- Documented JSON session serialization requires string keys
...
Thanks jeroen.pulles at redslider.net for the report.
2013-09-03 07:48:03 -04:00
Claude Paroz
102f26c929
Fixed #20998 -- Allow custom (de)serialization for GIS widgets
...
Thanks Mathieu Leplatre for the report and the initial patch.
2013-09-02 13:32:00 +02:00
Aymeric Augustin
365c3e8b73
Replaced "not PY3" by "PY2", new in six 1.4.0.
2013-09-02 12:11:02 +02:00
Ramiro Morales
e909ceae9b
Made django.test.testcases not depend on staticfiles contrib app.
...
Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase
unittest TestCase subclass.
Fixes #20739 .
2013-08-31 11:02:32 -03:00
Loic Bistuer
9885f07757
Made the doc about translating string literals in templates more prominent.
2013-08-31 07:59:53 -04:00
Claude Paroz
e87997dd33
Fixed copy/paste error in measurement docs
2013-08-31 10:33:14 +02:00
Tim Graham
a89c856a7a
Fixed typo in docs/ref/models/options.txt
2013-08-30 21:05:36 -04:00
Carl Meyer
7211741fc5
Fixed #20999 - Allow overriding formfield class with choices, without subclass restrictions.
...
Refs #18162 . Thanks claudep and mjtamlyn for review.
2013-08-30 17:43:10 -06:00
Curtis Maloney
e2f06226ea
Improved {% include %} implementation
...
Merged BaseIncludeNode, ConstantIncludeNode and Include node.
This avoids raising TemplateDoesNotExist at parsing time, allows recursion
when passing a literal template name, and should make TEMPLATE_DEBUG behavior
consistant.
Thanks loic84 for help with the tests.
Fixed #3544 , fixed #12064 , fixed #16147
2013-08-30 10:36:36 +03:00
Anssi Kääriäinen
e973ee6a98
Fixed #20988 -- Added model meta option select_on_save
...
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.
Reviewed by Tim Graham.
Refs #16649
2013-08-30 09:41:07 +03:00
Tim Graham
be48c6c199
Fixed #20997 -- Added SessionStore note to docs.
...
Thanks jsdalton.
2013-08-29 14:15:58 -04:00
Jorge C. Leitão
d72f83c410
Added links to file docs.
2013-08-29 12:48:59 -04:00
Tim Graham
cf8d6e9108
Fixed #20881 -- Removed contrib.auth.models.AbstractUser.get_absolute_url()
...
The definition is arbitrary and creates a broken "view on site"
link in the admin if a project doesn't define such a URL.
2013-08-29 06:36:35 -04:00
Curtis Maloney
5cdacbda03
Fixed #17356 -- Allowed {% include %} to render compiled templates
...
Reviewed by Loic Bistuer and Tim Graham.
2013-08-29 10:22:24 +03:00
Tim Graham
112799e9a8
Fixed #20983 -- Updated package classifiers in reuseable apps tutorial.
...
Thanks Cloudream for the report.
2013-08-28 10:54:13 -04:00
Loic Bistuer
da800be6dd
Fixed #20986 -- Enabled SelectDateWidget to use custom months
...
Reviewed by Trac alias MarkusH.
2013-08-28 16:39:26 +03:00
Phaneendra Chiruvella
2fbf949760
Minor spelling correction in ModelForms docs
2013-08-28 16:05:46 +05:30
Krzysztof Jurewicz
095643e691
Fixed #20981 -- Noted the default value of disable_existing_loggers.
2013-08-27 10:25:26 -04:00
Tim Graham
4f7ed3f2d1
Organized 1.7 minor features into subsections.
2013-08-27 09:39:56 -04:00
Matt Robenolt
08e7a64369
Updated instructions for running contrib tests.
2013-08-27 08:21:42 -04:00
Tim Graham
c9a69cdb93
Fixed #20976 -- Fixed labels in migration docs.
...
Thanks chrismedrela for the report.
2013-08-27 08:05:13 -04:00
Marc Tamlyn
bd97026490
Merge pull request #1513 from jboecker/typo
...
Fixed typo in docs/topics/conditional-view-processing.txt
2013-08-27 02:11:59 -07:00
Erik Romijn
fa57266699
Fixed #20972 -- Make messages cookie follow session cookie secure/httponly
2013-08-26 21:34:29 +02:00
Jan Böcker
5fd2c979cb
Fixed typo in docs/topics/conditional-view-processing.txt
2013-08-26 11:19:40 +02:00
Andrew Godwin
5569b0b92f
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
django/db/backends/oracle/base.py
django/db/backends/postgresql_psycopg2/base.py
django/db/models/signals.py
tests/queries/tests.py
2013-08-23 12:36:53 +01:00
Ramiro Morales
57c82f909b
Typos introduced in 297f5af222
.
2013-08-22 21:25:35 -03:00
Tim Graham
b0ce6fe656
Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions
...
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.
Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
2013-08-22 13:58:26 -04:00
Anssi Kääriäinen
6af05e7a0f
Fixed model.__eq__ and __hash__ for no pk value cases
...
The __eq__ method now considers two instances without primary key value
equal only when they have same id(). The __hash__ method raises
TypeError for no primary key case.
Fixed #18864 , fixed #18250
Thanks to Tim Graham for docs review.
2013-08-22 17:24:07 +03:00
Kevin Christopher Henry
2e926b041c
Documentation -- Clarified use of 'view' in test client introduction.
2013-08-22 09:37:03 -04:00
Marc Tamlyn
bac4d03ce6
Fixed #20944 -- Removed inaccurate statement about View.dispatch().
2013-08-22 09:20:50 -04:00
Ramiro Morales
297f5af222
Made description of LANGUAGE_CODE setting more clear.
2013-08-22 08:27:04 -03:00
evildmp
3e20a8856b
Added myself to the committers list.
2013-08-21 22:32:04 +01:00
Kevin Christopher Henry
7775ced938
Documentation - Noted that OneToOneField doesn't respect unique.
...
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-21 22:32:04 +01:00
Ramiro Morales
01223840f3
Fixed #18967 -- Don't base64-encode message/rfc822 attachments.
...
Thanks Michael Farrell for the report and his work on the fix.
2013-08-21 22:32:04 +01:00
Florian Apolloner
839940f27f
Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.
2013-08-21 22:32:04 +01:00
Kevin Christopher Henry
bb011cf809
Documentation -- Corrected error about Model.full_clean()
...
Although the ModelForm validation code was changed to call
Model.full_clean(), the documentation still said otherwise. The
offending phrase was removed.
2013-08-21 15:38:07 -04:00
Daniele Procida
17fb5768e0
Merge pull request #1498 from evildmp/add-myself
...
Added Daniele Procida to the committers list.
2013-08-21 07:16:37 -07:00
evildmp
082b0638ef
Added myself to the committers list.
2013-08-21 16:10:51 +02:00
Kevin Christopher Henry
83e434a2c2
Documentation - Noted that OneToOneField doesn't respect unique.
...
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-20 21:20:29 -07:00
Ramiro Morales
f9d1d5dc13
Fixed #18967 -- Don't base64-encode message/rfc822 attachments.
...
Thanks Michael Farrell for the report and his work on the fix.
2013-08-20 22:17:26 -03:00
Florian Apolloner
96346ed5ad
Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.
2013-08-20 21:25:57 +02:00
Andrew Godwin
b6a957f0ba
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
docs/ref/django-admin.txt
2013-08-19 18:30:48 +01:00
Tim Graham
7b69c3e775
Removed versionadded/changed annotations for 1.5
2013-08-19 09:09:41 -04:00
Anssi Kääriäinen
3844089edc
Fixed #20777 -- Admin proxy model deletion regression
...
Added proxy_models tests by Harm Geerts <github@geertswei.nl>.
2013-08-19 09:51:41 +03:00
Anssi Kääriäinen
4668c142dc
Made Model.__eq__ consider proxy models equivalent
...
Fixed #11892 , fixed #16458 , fixed #14492 .
2013-08-19 09:51:28 +03:00
Carl Meyer
c2907a6e3d
Remove the last FIXME from the howto-release-Django doc.
2013-08-16 23:55:43 -06:00
Tim Graham
55339a7669
Fixed #20891 -- Removed part of the tutorial that requires pytz
...
Thanks AtomicSpark for the report.
2013-08-15 15:24:58 -04:00
James Bennett
bc5716fc9c
Added release date to 1.5 release notes.
...
Forwardport of 61283a8208
from 1.5.x
2013-08-15 07:41:18 -04:00
Tim Graham
29255fcb4f
Fixed some ReST errors regarding backticks
2013-08-15 07:14:10 -04:00
Alasdair Nicol
354009d67e
Updated docs following deprecation of django.views.defaults.shortcut
...
Follows 3f2befc
2013-08-15 00:27:16 +01:00
Tim Graham
b6178fa24b
Added some doc links for django.contrib.messages
2013-08-14 12:57:55 -04:00
Jonathan Slenders
ff410565bf
Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.
...
Thanks clay.evil@ for the suggestion.
2013-08-14 12:40:19 -04:00
SusanTan
71c491972e
Fixed #11400 -- Passed kwargs from AbstractUser.email_user() to send_mail()
...
Thanks Jug_ for suggestion, john_scott for the initial patch,
and Tim Graham for code review.
2013-08-14 07:46:11 -04:00
Matt Johnson
907ef9d0d1
Fixed #20555 -- Make subwidget id attribute available
...
In `BoundField.__iter__`, the widget's id attribute is now passed to
each subwidget. A new id_for_label property was added to ChoiceInput.
2013-08-13 13:23:05 -04:00
Tim Graham
db682dcc9e
Added 1.4.6/1.5.2 release notes.
2013-08-13 11:16:30 -05:00
Loic Bistuer
163a34ce4b
Fixed #20883 -- Made model inheritance find parent links in abstract parents
2013-08-13 15:14:11 +03:00
Tim Graham
3f6cc33cff
Added missing release notes for older versions of Django
2013-08-12 14:05:25 -04:00
Mel Collins
6bdb3b1135
Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS setting
...
This setting does for new directories what FILE_UPLOAD_PERMISSIONS
does for new files.
Thanks jacob@ for the suggestion.
2013-08-12 07:15:59 -04:00
Tim Graham
ab680725bf
Fixed #20890 -- Added missing import in class-based view docs.
...
Thanks André Augusto.
2013-08-10 18:08:05 -04:00
Julien Phalip
6e70f47d02
Merge pull request #1464 from evildmp/squashing_commits
...
Clarified misleading wording about squashing commits
2013-08-10 14:48:46 -07:00
Daniele Procida
e868eaf680
clarified misleading wording about squashing commits
2013-08-10 22:24:24 +01:00
Andrew Godwin
7970d97a70
Docs tweaks (thanks timgraham)
2013-08-10 20:00:12 +01:00
ersran9
00d23a13eb
Fixed #20828 -- Allowed @permission_required to take a list of permissions
...
Thanks Giggaflop for the suggestion.
2013-08-10 10:10:18 -04:00
Tim Graham
5737c57d95
Fixed #20868 -- Added an email to django-announce as a security step.
...
Thanks garrison for the report.
2013-08-09 16:02:05 -04:00
Andrew Godwin
588b523233
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
django/db/models/options.py
2013-08-09 14:37:37 +01:00
Andrew Godwin
1d1cfd0bd8
Document new field API in release notes
2013-08-09 14:31:24 +01:00
Tim Graham
ddae74b64c
Fixed #9057 -- Added default_permissions model meta option.
...
Thanks hvendelbo for the suggestion and koenb for the draft patch.
2013-08-09 09:19:52 -04:00
Andrew Godwin
de64c4d6e9
Merge remote-tracking branch 'core/master' into schema-alteration
...
Conflicts:
django/core/management/commands/flush.py
django/core/management/commands/syncdb.py
django/db/models/loading.py
docs/internals/deprecation.txt
docs/ref/django-admin.txt
docs/releases/1.7.txt
2013-08-09 14:17:30 +01:00
Loic Bistuer
f8a6a4eba1
Improved queryset handling and docs for (Single|Multiple)ObjectMixin.
2013-08-09 17:51:58 +07:00
Tim Graham
8442268869
Added an anchor for django.forms.Form.clean in docs
2013-08-08 14:13:52 -04:00
Tim Graham
58e4fe464c
Merge pull request #1457 from jaimeirurzun/master
...
Clarified meaning of models.User.is_authenticated()
2013-08-08 07:27:08 -07:00
Daniele Procida
7e6af9d40c
Added more on @cached_property, refs #20870
2013-08-08 09:45:26 -04:00
Marc Tamlyn
1c4a9bd9ad
Revert change to the default Form.clean()
...
This means it doesn't break for people who are doing
`cleaned_data = super(FooForm, self).clean()`.
2013-08-08 14:27:48 +01:00
Marc Tamlyn
fb1dd6b13a
Form.clean() does not need to return cleaned_data.
...
If it does, that will be used as the cleaned_data. The default
implementation has been changed to match this change.
2013-08-08 14:05:55 +01:00
Jaime Irurzun
f96fe3cd1e
Clarify meaning of models.User.is_authenticated()
2013-08-08 12:45:06 +01:00
Daniele Procida
7a2296eb5b
Fixed #20870 -- Documented django.utils.functional.cached_property
2013-08-08 05:36:17 -04:00
Preston Holmes
cf041b883c
Merge pull request #1453 from chrismedrela/ticket20484-improvement
...
Fixed #20484 again -- added note to field documentation
2013-08-07 14:10:24 -07:00
Christopher Medrela
fb26c4996a
Fixed #20484 again -- added note to field documentation
2013-08-07 20:57:56 +02:00
Leandro Regueiro
709cd2c4b7
Added section labels in cache docs
2013-08-06 11:56:01 -04:00
Tai Lee
1280675834
Fixed #15511 -- Allow optional fields on ``MultiValueField` subclasses.
...
The `MultiValueField` class gets a new ``require_all_fields`` argument that
defaults to ``True``. If set to ``False``, individual fields can be made
optional, and a new ``incomplete`` validation error will be raised if any
required fields have empty values.
The ``incomplete`` error message can be defined on a `MultiValueField`
subclass or on each individual field. Skip duplicate errors.
2013-08-06 08:50:47 -04:00
Dominic Rodger
c33d1ca1d9
Fixed #20852 - Fixed incorrectly generated left quotes in docs.
...
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML.
2013-08-06 07:13:17 -04:00
Justin Michalicek
6d88d47be6
Fixed #20832 -- Enabled HTML password reset email
...
Added optional html_email_template_name parameter to password_reset view
and PasswordResetForm.
2013-08-05 09:47:28 -04:00
Jimmy Song
94d7fed775
Fixed #20859 - Clarified Model.clean() example.
2013-08-05 09:06:09 -04:00
Tim Graham
26c4bd38ac
Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.
...
Thanks Keryn Knight.
2013-08-05 08:14:27 -04:00
Julien Phalip
0b071ba7df
Fixed a small formatting issue.
2013-08-04 17:29:55 -07:00
Julien Phalip
28d3b33c04
Added a note to the 1.6 release about the new `--keep-pot` option for `makemessages`.
...
Refs #17008 .
2013-08-04 17:18:10 -07:00
Tim Graham
1593a86494
Fixed #20860 -- Removed references to defunct chicagocrime.org
2013-08-04 14:46:06 -04:00
Daniele Procida
e8183a8193
Fixed #20842 and #20845 - Added a note on order_by() and improved prefetch_related() docs.
2013-08-04 12:34:28 -04:00
Loic Bistuer
ebb3e50243
Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.
...
Refs #18681 .
This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-04 09:14:18 -04:00
Justin Michalicek
61ecb5f48a
Fixed #20855 -- Added documentation of current_app and extra_context params to django.contrib.auth views
...
refs #5298 and refs #8342
2013-08-04 08:04:12 -04:00
Curtis Maloney
07876cf02b
Deprecated SortedDict (replaced with collections.OrderedDict)
...
Thanks Loic Bistuer for the review.
2013-08-04 07:09:39 -04:00
Tim Graham
b278f7478d
Fixed #20858 -- Removed erroneous import in tutorial 2.
...
Thanks AtomicSpark.
2013-08-04 05:57:11 -04:00
Loic Bistuer
0bcdcc7eb9
Added ModelAdmin.get_search_fields.
2013-08-03 20:02:43 -04:00
Alasdair Nicol
a0c58113b9
Added missing request argument to example in URL dispatcher docs
2013-08-03 20:42:02 +01:00
Dominic Rodger
920b242e30
Fixed #20786 -- Cleaned up docs/ref/exceptions.txt
...
Thanks Daniele Procida for the suggestion and edits.
2013-08-02 09:42:46 -04:00
Tim Graham
31ee120787
Fixed #20667 - Removed discussion of DEBUG from tutorial.
...
Forward-port of 3493f18d78
from master.
2013-08-01 18:07:59 -04:00
Tim Graham
5df84b268d
Removed unused model option "admin"
2013-08-01 10:27:30 -04:00
Alex Couper
1123f45511
Fixed #20649 -- Allowed blank field display to be defined in the initial list of choices.
2013-07-31 14:12:03 -04:00
Tim Graham
a1889397a9
Fixed #12103 -- Added AuthenticationForm.confirm_login_allowed to allow customizing the logic policy.
...
Thanks ejucovy and lasko for work on the patch.
2013-07-31 13:54:05 -04:00
Loic Bistuer
acd1d439fd
Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class.
2013-07-31 09:54:00 -04:00
Tim Graham
a3a59a3197
Added a bugfix in docutils 0.11 -- docs will now build properly.
2013-07-31 09:24:29 -04:00
Julian Bez
8f5533ab25
Fixed #20793 -- Added Last-Modified header to sitemaps.
2013-07-31 07:42:30 -04:00
Tim Graham
4d8ecbdfda
Fixed some ReST errors; refs #20819 .
2013-07-31 07:22:38 -04:00
SusanTan
7de35a9ef3
Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498 .
...
Thanks CollinAnderson for the report.
2013-07-31 07:09:12 -04:00
Tai Lee
4c6ffcf721
Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` view is used in production.
2013-07-31 18:58:50 +10:00
Jose L. Patino
7b57e575c9
Fixed #19877 -- Added `--no-color` option to `BaseCommand` to avoid using output styles.
2013-07-30 09:26:18 -04:00
Tim Graham
d4dd55e78c
Doc tweaks for html_message parameter to send_mail(); refs #20817
2013-07-30 08:06:49 -04:00
Andrew Godwin
fddc5957c5
Implement allow_migrate for migration operations
2013-07-30 12:34:31 +01:00
Andrew Godwin
12e9804d16
Rename allow_syncdb to allow_migrate
2013-07-30 12:08:59 +01:00
Andrew Godwin
68e0a169c4
Rename pre_ and post_syncdb to *_migrate, with aliases from old names
2013-07-30 11:52:52 +01:00
Andrew Godwin
086389f5fc
Start adding schema migration into the release notes
2013-07-30 11:52:36 +01:00
Tim Graham
05ea5a2139
Fixed #20823 -- Typo in docs/ref/forms/validation.txt
2013-07-29 18:41:08 -04:00
Claude Paroz
fdd7a355bf
Deprecated django.utils.importlib
...
This was a shim for pre-Python 2.7 support.
2013-07-29 17:10:22 +02:00
Justin Michalicek
ac09558760
Fixed #20817 -- Added html_message parameter to django.core.mail.send_mail()
2013-07-29 09:53:47 -04:00
Przemek Lewandowski
382c53d7d8
Fixed #18213 -- Allowed empty fixtures (emit a warning rather than raising an exception).
2013-07-29 08:03:51 -04:00
minusf
70c080fcdb
Misc doc cleanups.
2013-07-29 06:57:33 -04:00
minusf
c694e6220e
Allowed overriding variables in docs/Makefile.
2013-07-29 06:51:54 -04:00
Jannis Leidel
33e6cf5ec3
Fixed #20774 -- Mention the new django-localflavor app as a replacement for the contrib app.
2013-07-29 10:54:53 +02:00
Tim Graham
0b35a2cce3
Fixed ReST typo in topics/class-based-views/mixins.txt
2013-07-28 14:09:29 -04:00
Julien Phalip
0d0ccf81a0
Moved a release note that I had accidentally misplaced in bb145e2c47
.
2013-07-27 19:52:59 -07:00
Julien Phalip
4e0ff35146
Fixed #11195 -- Added CSS classes to the changelist cells to allow style customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch.
2013-07-27 19:50:02 -07:00
Julien Phalip
47c755327b
Fixed a number of minor misspellings.
2013-07-27 18:46:03 -07:00
Tim Graham
8676318d2d
Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.
...
Thanks CollinAnderson for the report.
2013-07-26 14:45:38 -04:00
Andrew Godwin
88e1e6f9f3
A bit more documentation
2013-07-26 16:28:09 +01:00
Loic Bistuer
31fadc1202
Fixed #20625 -- Chainable Manager/QuerySet methods.
...
Additionally this patch solves the orthogonal problem that specialized
`QuerySet` like `ValuesQuerySet` didn't inherit from the current `QuerySet`
type. This wasn't an issue until now because we didn't officially support
custom `QuerySet` but it became necessary with the introduction of this new
feature.
Thanks aaugustin, akaariai, carljm, charettes, mjtamlyn, shaib and timgraham
for the reviews.
2013-07-26 12:41:27 +03:00
Aymeric Augustin
5ed7ec99b6
Added versionadded directive missing from b7bd708
.
2013-07-25 20:14:51 +02:00
Tim Graham
bddb4a6818
Fixed #20769 -- Added "Python compatibility" section to the 1.6 release notes.
2013-07-25 13:03:15 -04:00
Andrew Godwin
f8297f6323
More migration docs, and conversion of all easy syncdb references
2013-07-25 16:19:36 +01:00
mark hellewell
8c9240222f
Fixed #18315 -- Documented QueryDict.popitem and QueryDict.pop
...
Thanks gcbirzan for the report.
2013-07-25 11:06:41 -04:00
Andrew Godwin
06103c8ef5
Small start to migrations documentation
2013-07-25 14:45:38 +01:00
Brenton Cleeland
dab52d99fc
Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
...
Thanks simonb for the report.
2013-07-25 07:38:14 -04:00
Preston Holmes
10f8a21002
Fixed #18168 -- clarified precedence of validation
...
any choices set by formfield_for_choice_field are still subject
to model validation of the model field's choices attribute
2013-07-24 14:58:14 -07:00
Tim Graham
bd0dcc6c89
Fixed #20766 -- Deprecated FastCGI support.
2013-07-24 13:41:45 -04:00
Anssi Kääriäinen
b2314d9e1e
Fixed #19941 -- Modified runtests.py to make running the tests easier.
...
1. Automatically use tests/../django as the Django version.
2. If settings aren't provided through --settings or DJANGO_SETTINGS_MODULE)
then use test_sqlite.
2013-07-24 07:33:03 -04:00
Jon Lønne
5a5d594717
Fixed typo in Custom management commands documentation.
2013-07-24 13:14:32 +02:00
Tim Graham
31c13a99bb
Fixed #14300 -- Fixed initial SQL location if models is a package.
...
Thanks al_the_x for the report and fheinz for the draft patch.
2013-07-24 06:56:33 -04:00
Dominic Rodger
c928725b93
Fixed #20794 -- Documented changes to validate_email
...
4e2e8f39d
changed the way validate_email behaves for foo@localhost
email addresses, but wasn't listed in the release notes.
2013-07-24 10:26:03 +02:00
Tim Graham
65e03a424e
Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objects
...
Thanks laureline.guerin@ and Wedg.
2013-07-23 16:21:23 -04:00
Pedro Mourelle
fb052b528a
Fixed #19900 -- Updated admin buttons to use CSS3 rounded corners.
2013-07-23 11:28:22 -04:00
Thomas Sorrel
bb145e2c47
Fixed #13629 -- Added CSS classes to the `<body>` tag of some admin templates to allow style customizations per app or per model.
2013-07-21 20:17:14 +00:00
Claude Paroz
6d52844b9b
Fixed #18551 -- Enabled skipIfDBFeature/skipUnlessDBFeature to decorate a class
...
Thanks Tim Graham for the review and improved patch.
2013-07-19 20:30:14 +02:00
Matt Deacalion Stevens
a269ea4fe0
Fixed #14656 -- Added Atom1Feed `published` element
...
Some feed aggregators make use of the `published` element as well as
the `updated` element (within the Atom standard -- http://bit.ly/2YySb ).
The standard allows for these two elements to be present in the same
entry. `Atom1Feed` had implemented the `updated` element which was
incorrectly taking the date from `pubdate`.
2013-07-19 10:38:34 -04:00
Tim Graham
e1c737b62f
Merge pull request #1374 from seocam/fix_i18n_docs
...
LocaleMiddleware isn't default anymore (corrected docs)
2013-07-19 03:35:46 -07:00
Tim Graham
4aa006efd0
Merge pull request #1377 from Matt-Stevens/doc-fixes-ref-databases
...
Updated the `databases` documentation
2013-07-19 03:31:15 -07:00
Tim Graham
997e305d24
Merge pull request #1375 from Matt-Stevens/master
...
Fixed Croatia's country code in `localflavor` docs
2013-07-19 02:30:27 -07:00
Tim Graham
4669986228
Merge pull request #1378 from loic/docs
...
Fixed #20772 -- Fixed minor typo in form media docs.
2013-07-19 02:19:24 -07:00
Loic Bistuer
aa41eb9b8b
Fixed #20772 -- Fixed minor typo in form media docs.
2013-07-19 15:48:38 +07:00
Matt Deacalion Stevens
fa217d14a0
Updated the `databases` documentation
...
+ Removed a reference about MySQL storage engines also being
called 'table types', as this term has been deprecated for
8 years and is no longer used.
+ Fixed the link to the official InnoDB storage engine docs.
+ Apache (versions >= 2.4) will always choose a multi-threaded
MPM module on modern operating systems (later than 2002).
2013-07-19 09:01:13 +01:00
Matt Deacalion Stevens
97e5398629
Fix Croatia's country code in `localflavor` docs
...
Croatia's country code is 'HR', not 'CR'.
2013-07-19 09:01:13 +01:00
Sergio Oliveira
cf6c754629
LocaleMiddleware isn't default anymore
...
Changed in @23229061fcb836ecca2195cc75f91e331279a5d1
2013-07-18 21:15:30 -03:00
Tim Graham
dce8945ea6
Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
2013-07-18 12:41:01 -04:00
Tim Graham
d7ba2bf3cf
Merge pull request #1370 from Matt-Stevens/doc-url-fix
...
Fixed broken Atom URLs in syndication docs
2013-07-18 05:47:33 -07:00
Tim Graham
fd95dc9e27
Fixed #20763 -- Typo in tutorial 3.
...
Thanks crichard@ for the report.
2013-07-18 07:58:51 -04:00
Matt Deacalion Stevens
beefc97171
Atom specification URL updated
...
Changed to the URL of the official RFC for Atom, since Atomenabled.org
is just a holding page.
2013-07-18 12:53:54 +01:00
Alasdair Nicol
1131d4191f
Fixed typo in inspectdb docs
2013-07-18 11:37:01 +01:00
Curtis Maloney
a3e7d73ed7
Allowed Context.push to behave as a context mananger.
...
Thanks Loic Bistuer for the review.
2013-07-17 13:32:32 -04:00
Tim Graham
a3242dc9fe
Fixed #20756 -- Typo in uWSGI docs.
2013-07-17 06:50:40 -04:00
Tim Graham
2333c9662b
Fixed #14007 -- Added model discovery in models module without the need to specify app_label.
...
Thanks mark@ and Aramgutang for work on the patch.
2013-07-16 19:32:30 -04:00
Loic Bistuer
fba6c2ede7
Reworked docs for ModelForm validation.
2013-07-16 19:20:53 -04:00
Loic Bistuer
aff0aa3af8
Rephrased the docs for reporting security issues to make it less intimidating.
2013-07-16 17:17:08 +07:00
Tim Graham
862a04a56d
Fixed some markup in docs/ref/templates/api.txt
2013-07-15 11:31:06 -04:00
Tim Graham
2456ffa42c
Fixed #20746 -- Removed Python 2.6 specific code/docs
2013-07-14 13:02:55 -04:00
David Binetti
51b50c47c7
Fixes grammatical error in auth docs
...
Changes "An error will be raise if you try..." to "An error will be raised if you try..."
2013-07-13 20:28:04 -07:00
Claude Paroz
1b142ef5dd
Removed Python 2.6 references in GIS docs
...
Refs #20746 .
2013-07-13 23:08:48 +02:00
Claude Paroz
64099e30e8
Removed obsolete sentence in queries docs
2013-07-13 21:08:44 +02:00
Claude Paroz
7557207983
Fixed #20582 -- Allowed default Form.label_suffix to be translated
...
Thanks Tim Graham for the review.
2013-07-13 16:19:16 +02:00
Tim Graham
a7d97a6778
Fixed #20653 -- Renamed checksetup -> check missed in [ 03465639
]
...
Thanks CollinAnderson for the report.
2013-07-12 12:48:49 -04:00
Karol Sikora
6272d2f155
Fixed #20429 -- Added QuerySet.update_or_create
...
Thanks tunixman for the suggestion and Loic Bistuer for the review.
2013-07-12 08:26:35 -04:00
Joeri Bekker
66f3d57b79
Fixed #19031 -- Added a warning when using override_settings with 'DATABASES'
2013-07-12 07:10:18 -04:00
Tim Graham
3cdeb572d7
Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
2013-07-12 06:19:16 -04:00
Christopher Medrela
ac223ff6d1
Fixed #20735 -- clarified ManyToManyField constructor doc
2013-07-12 11:50:08 +02:00
Claude Paroz
59ebe39812
Fixed #17471 -- Added smtplib.SMTP_SSL connection option for SMTP backend
...
Thanks dj.facebook at gmail.com for the report and initial patch
and Areski Belaid and senko for improvements.
2013-07-11 22:00:08 +02:00
Tim Graham
684a606a4e
Fixed #20730 -- Fixed "Programmatically creating permissions" error.
...
Thanks glarrain for the report.
2013-07-11 11:06:34 -04:00
Benjamin Kagia
b0953dc913
Fixed #13721 -- Added UploadedFile.content_type_extra.
...
Thanks Waldemar Kornewald and mvschaik for work on the patch.
2013-07-11 09:11:59 -04:00
Tim Graham
ecd746191c
Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
...
Thanks ijl20@ for the report.
2013-07-11 07:36:25 -04:00
Tim Graham
77856dc875
Added some missing test requirements in the docs; refs #19196
2013-07-10 12:01:17 -04:00
Tim Graham
4d92a0bd86
Fixed #19196 -- Added test/requirements
2013-07-10 09:24:05 -04:00
Aymeric Augustin
1333967f91
Added 1.7 release notes in TOC.
2013-07-09 23:04:37 +02:00
Loic Bistuer
7e6d852bac
Fixed #20663 -- "Today" and "now" admin shortcuts.
...
Changed the shortcuts next to date and time intput widgets
to account for the current timezone.
Refs #7717 , #14253 and #18768 .
2013-07-09 23:04:33 +02:00
SusanTan
ef3fddf26e
Fixed #18261 -- Clarified 'project root directory'
2013-07-09 07:11:41 -04:00
Tim Graham
dab921751d
Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3
...
Thanks DrMeers for the report.
2013-07-08 15:01:37 -04:00
James Bennett
c0f03175ce
Fixed #19695 -- Retitle "Form Media" to "Form Assets".
2013-07-08 13:59:54 -04:00
Tim Graham
660c30ed95
Fixed #16965 -- Clarified Formset can_delete docs.
...
Thanks gregcorey@ for the suggestion.
2013-07-08 12:08:30 -04:00
Tim Graham
1084575163
Fixed #20493 -- Added a warning that objects may not be picklable across Django versions
...
Thanks cataliniacob for the suggestion and review.
2013-07-08 09:57:50 -04:00
Tim Graham
181f63c22d
Fixed #12346 -- Added a note on how to validate InlineFormSets.
...
Thanks johnsmith for the suggestion.
2013-07-08 08:29:28 -04:00
Jeremy Dunck
9aed3201aa
Clarified trac patch-related field meaning
...
There was some confusion on the mentorship list as to whether 'needs tests'
meant that a given ticket might not need tests, as opposed to flagging
a specific patch as still needing tests.
This commit seeks to clarify that confusion.
2013-07-07 21:17:10 -07:00
Tim Graham
2d96e660f9
Fixed #14006 -- Documented that Field's 'description' attribute is interpolated with field.__dict__
...
Thanks abeld for the suggestion.
2013-07-06 18:33:45 -04:00
Claude Paroz
c94093c5ba
[gis] Dropped official support for GDAL < 1.6
2013-07-06 17:25:46 +02:00
Claude Paroz
de676f94b7
Added release dates for gis libs as doc comments
2013-07-06 17:18:53 +02:00
Claude Paroz
7442eb1a24
Fixed #20224 -- Update docs examples which mention __unicode__
...
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-05 19:27:07 +02:00
Tim Graham
577b0f9189
Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only supported by Postgres.
...
Thanks jtiai for the suggestion.
2013-07-05 07:20:37 -04:00
Tim Graham
b9fceadfd4
Fixed #19539 -- Updated custom model fields example for Python 3.
...
Thanks astorije@ for the report.
2013-07-05 06:54:10 -04:00
hekevintran
62a826ab31
fixed grammar
2013-07-04 12:31:58 -07:00
Tim Graham
da5069f68f
Fixed #20134 -- Correct list of fields that UserManager requires.
...
Thanks semenov and pegler.
2013-07-04 10:19:00 -04:00
Tim Graham
f407f75aae
Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
...
Thanks littlepig for the report.
2013-07-04 09:32:32 -04:00
Tim Graham
428de2e339
Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
...
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.
2013-07-04 07:53:13 -04:00
Tim Graham
231e31c690
Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
...
Thanks rene@ for the suggestion.
2013-07-04 05:44:22 -04:00
SusanTan
067e0424ce
Fixed #20609 -- Documented how to use request.user with RequestFactory
...
Thanks michel@ for the suggestion.
2013-07-03 11:05:03 -04:00
Tomáš Ehrlich
c5bc98d7e1
Fixed #20687 -- Added documentation for django.core.signing API.
...
Thanks Baptiste Mispelon for the suggestion.
2013-07-03 10:36:21 -04:00
Tim Graham
8a679386c3
Fixed #20691 -- Added a note for __str__() vs. __unicode__() and Python 3.
...
Thanks garrison for the suggestion.
2013-07-03 08:44:03 -04:00
Tim Graham
3632d289de
A couple more semicolon -> colon fixes; refs #18134 .
2013-07-02 14:14:56 -04:00
Ben Firshman
8160e6341d
Fix "semicolon" in docs
2013-07-02 17:52:54 +01:00
Aymeric Augustin
6c66a41c3d
Relied on NullHandler from the logging stdlib module.
2013-07-01 23:16:25 +02:00
Aymeric Augustin
6a0374d037
Reflected the new default value of LOGGING_CONFIG in docs.
2013-07-01 23:16:25 +02:00
Aymeric Augustin
72c65fea41
Deprecated django.utils.dictconfig.
...
The module still exists for whoever uses it in its current state, but it
isn't imported by Django anywhere.
2013-07-01 22:50:58 +02:00
Aymeric Augustin
cfcf4b3605
Stopped using django.utils.unittest in the test suite.
...
Refs #20680 .
2013-07-01 14:29:33 +02:00
Aymeric Augustin
7f264e02f4
Fixed #20680 -- Deprecated django.utils.unittest.
...
Refs #19204 .
2013-07-01 14:29:33 +02:00
Baptiste Mispelon
88de53d4a8
Fixed #20659 -- Fixed PublisherDetail in CBV topic documentation.
...
Thanks to tudor.prodan, susan, and Tim Graham for the report and reviews.
2013-07-01 14:05:49 +02:00
Aymeric Augustin
a763915a03
Bumped minimum Python version requirement to 2.7 in Django 1.7.
2013-07-01 12:01:59 +02:00
Aymeric Augustin
3fd8eb1a27
Stopped branding Python 3 support as experimental.
...
Forward-port of 0de21a6
from stable/1.6.x.
2013-07-01 11:52:37 +02:00
Aymeric Augustin
8b8b2f2fc7
Updated FAQ on Python versions to explain 2 vs 3.
...
Required the latest version for each Python series to minimize
bookkeeping in the future.
Forward-port of c1d8f3b
from stable/1.6.x.
2013-07-01 11:49:56 +02:00
Tim Graham
3fd0ee5b46
Fixed #20677 - Typos in generic_inlineformset_factory docs.
...
Thanks Riley Strong for the report.
2013-06-29 14:14:32 -04:00
Aymeric Augustin
7415176507
Simplified description of HttpResponse(<iterator>)
...
Related to 8b9b8d3b
.
2013-06-29 18:56:00 +02:00
Claude Paroz
6118d6d1c9
More import removals
...
Following the series of commits removing deprecated features in
Django 1.7, here are some more unneeded imports removed and other
minor cleanups.
2013-06-29 11:58:36 +02:00
Florian Apolloner
adc6f38867
Fixed 1.6 release notes.
2013-06-29 10:50:04 +02:00
Ramiro Morales
24bbf1367a
Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5.
2013-06-28 23:16:28 -03:00
Ramiro Morales
7379d9acea
Removed insert(), value_for_insert() SortedDict methods deprecated in Django 1.5.
2013-06-28 22:38:13 -03:00
Ramiro Morales
8eadbc5a03
Removed 'mimetype' arguments from a few places, as per deprecation TL.
...
This includes HttpResponse and co. __init__() methods,
django.shortcuts.render_to_response() and the index(), sitemap() sitemap
app views.
2013-06-28 21:48:16 -03:00
Ramiro Morales
6ba69c8456
Removed 'depth' .select_related() argument as per deprecation TL.
2013-06-28 21:48:16 -03:00