Berker Peksag
c362228556
Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt.
2017-07-26 09:34:10 -04:00
Emmanuel
27ef04bb5c
Fixed #28349 -- Doc'd how to upgrade Django from LTS to LTS.
2017-07-24 13:33:30 -04:00
Tim Graham
487362fa8f
Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
...
Unused since a0d166306f
.
2017-07-20 16:30:08 -04:00
Mariusz Felisiak
081e787160
Refs #23919 -- Stopped inheriting from object to define new style classes.
...
Tests and docs complement to cecc079168
.
2017-06-26 10:30:31 -04:00
Tim Graham
2503ad5154
Fixed #28327 -- Removed contradictory description of mod_wsgi docs.
2017-06-20 07:35:55 -04:00
Philip James
7c9a833301
Fixed #26028 -- Added overriding templates howto.
2017-06-02 18:17:27 -04:00
Claude Paroz
01f658644a
Updated various links in docs to avoid redirects
...
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Claude Paroz
301de774c2
Refs #27795 -- Replaced many force_text() with str()
...
Thanks Tim Graham for the review.
2017-04-27 09:10:02 +02:00
Richard Barrell
351835f262
Fixed #28031 -- Removed notes about old uWSGI/sentry versions (refs #20537 ).
2017-04-06 09:09:49 -04:00
Aleksej Manaev
7170820b4e
Fixed typos in docs/howto/static-files/index.txt.
2017-04-03 08:13:48 -04:00
Jon Dufresne
7bbb5161ea
Removed implicit default store_true/false argparse args.
...
argparse automatically sets the default value for store_true/false
arguments to its opposite.
2017-04-01 20:03:56 -04:00
Paolo Melchiorre
24d53786d4
Made a few cosmetic updates to "Migrations that add unique fields".
2017-03-27 14:07:11 -04:00
albertoconnor
2863e79a5c
Fixed typo in docs/howto/custom-template-tags.txt.
2017-03-01 15:42:00 -05:00
Tim Graham
103e6cf26c
Fixed #27823 -- Updated mod_wsgi example to use WSGIPythonHome.
2017-02-13 19:52:08 -05:00
Claude Paroz
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
...
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
Ryan Castner
dbf79c5acf
Added missing word in docs/howto/error-reporting.txt.
2017-01-30 15:38:55 -05:00
Claude Paroz
52138b1fd0
Refs #23919 -- Removed usage of obsolete SafeBytes class
...
The class will be removed as part of #27753 .
Thanks Tim Graham for the review.
2017-01-30 15:04:45 +01:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
chillaranand
dc165ec8e5
Refs #23919 -- Replaced super(ClassName, self) with super() in docs.
2017-01-25 11:53:05 -05:00
Arkadiusz Adamski
a76d12ceb4
Removed unused imports in example migrations.
2017-01-21 07:40:33 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Claude Paroz
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
2017-01-18 09:55:19 +01:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Tim Graham
f032bbc8b1
Refs #18651 -- Removed assignment_tag per deprecation timeline.
2017-01-17 14:09:28 -05:00
Ed Morley
44cce3ed00
Fixed #27739 -- Documented LabelCommand.label.
2017-01-17 13:20:31 -05:00
Adam Chainz
755406f5ff
Fixed #27641 -- Doc'd default local-memory caching in deployment checklist.
2016-12-28 19:43:01 -05:00
Tim Graham
93a081946d
Normalized casing of "custom user model".
2016-11-23 15:14:28 -05:00
Daniel Musketa
66505b72c5
Updated doc links to virtualenv website.
2016-11-22 08:36:41 -05:00
akki
74ed20b49a
Replaced "django" with "Django" in spelling_wordlist.
2016-11-15 17:00:50 -05:00
Krzysztof Żuraw
eaa6ea2f37
Fixed #27133 -- Doc'd how to provide initial data with migrations.
2016-11-06 12:51:36 +01:00
Tim Graham
a9d1d95284
Replaced Outputting PDF's "Further Resources" with a link to Django Packages.
2016-10-25 11:58:19 -04:00
Marti Raudsepp
51fbe2a60d
Updated postgresql.org links to https and made them canonical.
2016-10-25 11:43:32 -04:00
Claude Paroz
122c90a43b
Fixed #27305 -- Removed BaseCommand.can_import_settings unused attribute
...
Thanks Tim Graham for the review.
2016-10-02 20:31:56 +02:00
Laurent
bceade84a7
Fixed typos in docs/howto/deployment/checklist.txt.
2016-09-29 19:59:00 -04:00
Tim Graham
eb4d4376fc
Normalized spelling of "Web server/page" in docs.
2016-09-29 19:51:59 -04:00
Tim Graham
c2e94bd8df
Fixed #27212 -- Fixed typo in docs/howto/static-files/index.txt.
2016-09-12 16:05:27 -04:00
Tim Graham
80c03b06ad
Fixed #24650 -- Documented how to change an unmanaged model to managed.
2016-08-23 17:35:42 -04:00
Timothy Allen
8cd900c819
Corrected text from Python's Windows installer.
2016-08-18 14:05:12 -04:00
Kenneth Schnall
cd2e4293cb
Removed extra periods in docs/howto/static-files/index.txt headers.
2016-07-27 13:50:31 -04:00
Naved Khan
9a5a789da2
Fixed #26941 -- Corrected uwsgi "env = LANG=…" configuration in docs.
2016-07-25 07:01:04 -04:00
Ville Skyttä
96f97691ad
Fixed broken links in docs and comments.
2016-06-15 21:20:23 -04:00
Baylee Feore
7767978bee
Fixed #26702 -- Documented how to change the base class of a custom field.
2016-06-08 10:37:39 -04:00
Tom Christie
316395d828
Fixed #26713 -- Documented resolving deprecation warnings before upgrade.
2016-06-06 11:38:02 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
Tim Graham
46a38307c2
Removed versionadded/changed annotations for 1.9.
2016-05-20 11:44:29 -04:00
Florian Apolloner
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
...
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham
2f0e0eee45
Fixed #24046 -- Deprecated the "escape" half of utils.safestring.
2016-05-10 12:46:47 -04:00
Tim Graham
f5ff5010cd
Fixed #26483 -- Updated docs.python.org links to use Intersphinx.
2016-05-08 18:07:43 -04:00
vytisb
b3acf35f13
Fixed code example in docs/howto/custom-lookups.txt
2016-05-06 08:26:07 -04:00
Claude Paroz
388bb5bd9a
Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()
...
Thanks Tim Graham for completing the initial patch.
2016-05-04 20:02:01 +02:00
Ville Skyttä
575a9a791e
Normalized "an SQL" spelling.
2016-05-03 19:30:48 -04:00
Tim Graham
f945fb24a3
Fixed #26554 -- Updated docs URLs to readthedocs.io
2016-04-28 10:09:57 -04:00
eltronix
c6b83db299
Fixed typo in docs/howto/deployment/wsgi/index.txt
2016-04-27 10:20:18 -04:00
eltronix
e2cb1018cb
Fixed reference to Question model in management command how-to.
2016-04-26 09:21:45 -04:00
Katie McLaughlin
393811c67a
Updated Windows docs for completeness
...
- Update installer option for PATH installation
- Add link directly to pip install docu, ref get-pip.py
- Add note about installing Django to the virtualenv that was setup in the previous step
2016-04-16 13:06:37 +02:00
Jeremy Lainé
c1aec0feda
Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.
2016-04-09 14:54:18 -04:00
Tim Graham
8dcd01046e
Removed extra blank lines in last commit.
2016-04-06 12:17:09 -04:00
Tobias Kunze
c643b4c9f2
Refs #24016 -- Edited "Migrating data between third-party apps" howto.
2016-04-06 12:09:14 -04:00
rixx
b7ea494d65
Fixed #24016 -- Added documentation about third-party app data migrations
...
There was confusion about how to migrate data from third-party
applications when you are going to uninstall the application later on.
Thanks to Markus, Marten and Sergei for help and review.
2016-04-03 17:20:35 +02:00
Tim Graham
8928823b13
Fixed #26436 -- Added a link to the settings filtering in the error reporting howto.
...
Thanks mlissner for the suggestion.
2016-03-31 13:41:06 -04:00
Alexander Gaevsky
e0a3d93730
Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.
2016-03-23 09:01:48 -04:00
girish ramnani
593ecfe135
Fixed #26302 -- Removed incorrect statement about virtual hosts.
2016-03-09 09:00:58 -05:00
Alasdair Nicol
8c42cf0cbd
Fixed #26303 -- Updated links to mod_wsgi docs.
2016-03-01 19:22:32 -05:00
Raphael Michel
5c31d8d189
Fixed #26243 -- Noted that 'python -R' is enabled by default in Python 3.3.
2016-02-19 10:50:15 -05:00
Jon Dufresne
0db7e61076
Followed recommended ValidationError use in docs.
2016-02-17 09:05:33 -05:00
Mounir Messelmeni
50931dfa53
Fixed #25304 -- Allowed management commands to check if migrations are applied.
2016-02-12 13:34:56 -05:00
Pankrat
f91a04621e
Fixed #25833 -- Added support for non-atomic migrations.
...
Added the Migration.atomic attribute which can be set to False
for non-atomic migrations.
2016-02-05 09:09:05 -05:00
Ramon Moraes
3b759661a8
Updated xhtml2pdf name/URL in docs.
2016-02-02 07:36:38 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Elif T. Kus
bca9faae95
Fixed #26020 -- Normalized header stylings in docs.
2016-01-22 12:12:17 -05:00
Tim Graham
e519aab43a
Fixed #23868 -- Added support for non-unique django-admin-options in docs.
...
Also documented missing short command line options to fix #24134 . This bumps
the minimum sphinx version required to build the docs to 1.3.4.
Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
Tim Graham
a7752780d9
Removed an unncessary docs cross-reference for call_command().
2016-01-12 18:01:29 -05:00
Tim Graham
555f8e9d5c
Made CommandError use the exception directive in docs.
2016-01-12 12:28:55 -05:00
pp
b34ff66e5b
Added missing period to "etc.".
2016-01-11 18:05:15 -05:00
pp
c8d970a548
Refs #25755 -- Unified a couple more spellings of 'website'.
2016-01-11 06:13:16 -05:00
Tim Graham
db8f462494
Fixed #26055 -- Removed an orphaned phrase in docs/howto/deployment/wsgi/modwsgi.txt.
2016-01-08 09:36:58 -05:00
za
d9e150b311
Fixed #25104 -- Added httpd.conf hyperlink to modwsgi doc.
2015-12-29 11:00:03 -05:00
Chris Lamb
77b8d8cb6d
Discouraged use of /tmp with predictable names.
...
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.
2015-12-24 09:54:33 -05:00
Bruno Alla
ffcdb0b471
Fixed #25893 -- Corrected custom lookups example.
2015-12-11 08:44:17 -05:00
Johannes Hoppe
cf546e11ac
Fixed #21221 -- Made form Media and static template tag use staticfiles if installed.
2015-12-10 14:30:19 -05:00
Alexander Sosnovskiy
b61eab18f7
Fixed #13774 -- Added models.Field.rel_db_type().
2015-12-04 07:55:41 -05:00
Alasdair Nicol
b6dd0afead
Fixed #25851 -- Removed links to deprecated assignment tag docs.
2015-12-03 10:40:56 -05:00
Jon Dufresne
7aabd62380
Fixed #25778 -- Updated docs links to use https when available.
2015-12-01 08:01:34 -05:00
Elena Oat
d26207d56c
Fixed #25526 -- Documented how to output colored text in custom management commands.
2015-11-17 15:06:13 -05:00
Agnieszka Lasyk
1f8dad6915
Fixed #25755 -- Unified spelling of "website".
2015-11-16 06:44:14 -05:00
Florian Demmer
25b912abbe
Fixed #17686 , refs #17816 -- Added "Files" section to Unicode topic.
...
Thanks Fako Berkers for help with the patch.
2015-11-14 12:01:51 -05:00
Tim Allen
1ce11f6064
Revised Windows install instructions for Python 3.5.
...
Added instructions for installing virtualenv and virtualenvwrapper.
2015-10-21 20:25:57 -04:00
Tim Graham
3f766d44c5
Fixed #25515 -- Documented the return value of BaseCommand.handle()
2015-10-06 15:08:15 -04:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Tim Graham
b4002a2143
Refs #22835 -- Removed NoArgsCommand per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
1bb6ecf6d3
Refs #9893 -- Removed shims for lack of max_length support in file storage per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
6a70cb5397
Refs #19973 -- Removed optparse support in management commands per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
08ab262649
Removed SubfieldBase per deprecation timeline.
2015-09-23 19:31:09 -04:00
Henry Jordan
af95eee9fb
Fixed #25447 -- Emphasized the need to restart dev server when adding template tags.
2015-09-22 19:37:57 -04:00
Josh Smeaton
534aaf56f4
Fixed #24629 -- Unified Transform and Expression APIs
2015-09-21 19:56:24 +10:00
Tim Graham
83ea3bc798
Reverted "Fixed #25203 -- Documented how to pass Apache environment variables to Django."
...
As discussed on the ticket, this isn't a pattern we should recommend.
This reverts commit 47016d4322
.
2015-09-14 14:12:31 -04:00
Paul Rentschler
47016d4322
Fixed #25203 -- Documented how to pass Apache environment variables to Django.
2015-09-11 13:23:29 -04:00
Maxime Lorant
c92cd22d02
Refs #25345 -- Updated links to code.google.com.
2015-09-04 08:14:21 -04:00
David Gibbons
526a413870
Updated static files howto title to include JavaScript.
2015-09-04 08:07:57 -04:00
Tyson Clugg
e34226fc37
Fixed #25259 -- Added comments to header of generated migration files
2015-08-31 22:14:21 +10:00
Maxime Lorant
4ce433e811
Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware from reporting 404s when Referer = URL.
2015-08-24 19:35:49 -04:00
Claude Paroz
f2e4c7aca4
Removed unnecessary comma in docs
2015-08-10 16:02:14 +02:00
Claude Paroz
e9c5c39631
Updated various links in docs
2015-08-08 13:57:15 +02:00
Claude Paroz
64982cc2fb
Updated Wikipedia links to use https
2015-08-08 12:02:32 +02:00
Caio Ariede
98eb91171d
Fixed #25207 -- Misspelled word in documentation: dialogue
2015-08-01 19:17:35 -04:00
Matt Robenolt
514fee82a1
Removed obsolete note about sentry/raven not handling WSGI properly.
...
2.0.7 was released in 2012.
2015-08-01 19:10:41 -04:00
Tim Graham
e176de2512
Fixed #25199 -- Fixed dead link to HTMLdoc.
2015-07-30 13:25:29 -04:00
Tim Graham
ae32f32498
Fixed #25178 -- Added DEFAULT_FROM_EMAIL to deployment checklist.
2015-07-28 09:44:08 -04:00
Tim Graham
e3d1f2422c
Fixed malformed Sphinx directives.
2015-07-25 06:37:51 -04:00
Thomas Stephenson
035b0fa60d
Fixed #24716 -- Deprecated Field._get_val_from_obj()
...
The method duplicates the functionality of Field.value_from_object()
and has the additional downside of being a privately named public
API method.
2015-07-14 09:13:22 -04:00
Tim Graham
84bc4f6cdd
Fixed #25121 -- Added a warning that filtering sensitive information from error reporting isn't bulletproof
2015-07-14 07:12:21 -04:00
Vlastimil Zíma
8f8c54f70b
Fixed #25099 -- Cleaned up HttpRequest representations in error reporting.
2015-07-13 19:22:39 -04:00
Jan Pazdziora
a570701e02
Fixed #25029 -- Added PersistentRemoteUserMiddleware for login-page-only external authentication.
2015-07-02 17:38:10 -04:00
Claude Paroz
3d7a713156
Fixed typo in writing migrations docs
2015-07-01 09:16:17 +02:00
Luke Plant
aef2a0ec59
Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output.
...
This is a security hardening fix to help prevent XSS (and incorrect HTML)
for the common use case of simple_tag.
Thanks to Tim Graham for the review.
2015-06-29 08:16:19 -04:00
Tim Graham
b34d16b78d
Added ALLOWED_HOSTS and SERVER_EMAIL details to deployment checklist.
2015-06-11 13:41:24 -04:00
Mark Henwood
dee1bcd08a
Fixed #24882 -- Documented Migration.run_before
2015-06-06 09:00:04 -04:00
Yamila Moreno
f954c51720
Fixed #24926 -- Removed outdated information from deployment
2015-06-05 12:03:29 +02:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* Converted the ``libraries`` and ``builtins`` globals of
``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Tim Graham
307acc745a
Fixed #24630 -- Clarified docs about RunPython transactions.
...
Thanks Markus Holtermann for review.
2015-05-17 18:50:18 -04:00
Abhaya Agarwal
9de9c24017
Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable
2015-05-12 20:08:22 -04:00
Afriza N. Arief
b295fcd19c
Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt
2015-04-13 07:50:23 -04:00
Tim Graham
6d7784a7b9
Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model fields docs.
...
Thanks schinckel for the report.
2015-04-08 08:35:35 -04:00
Tim Graham
d9a30ed190
Updated location of database backend data_types attribute in docs.
2015-03-17 20:03:07 -04:00
Ian Lee
56cd87a5af
Added link to section in docs/howto/custom-template-tags.txt.
2015-03-13 08:24:44 -04:00
Ian Lee
7614efa2f9
Fixed typo in docs/howto/custom-template-tags.txt.
2015-03-13 08:13:49 -04:00
Ian Lee
7f8588d22e
Documented how to use a non-root subdirectory with mod_wsgi.
2015-03-12 20:08:37 -04:00
Erik Romijn
fa350e2f30
Fixed #24464 -- Made built-in HTML template filter functions escape their input by default.
...
This may cause some backwards compatibility issues, but may also
resolve security issues in third party projects that fail to heed warnings
in our documentation.
Thanks Markus Holtermann for help with tests and docs.
2015-03-09 09:29:58 -04:00
Tim Graham
63f2dd4ad7
Fixed typo in docs/howto/custom-template-tags.txt
2015-03-09 07:06:09 -04:00
Ross Brunton
6b28e957df
Fixed #24379 -- Documented that remote user example disables ModelBackend.
2015-03-02 19:53:11 -05:00
Ian Lee
fde4857fb8
Added syntax highlighting for apache code blocks
2015-03-02 12:33:58 -05:00
Ian Lee
00fbd8fd52
Broke long lines in code examples.
...
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.
2015-02-23 07:45:37 -05:00
Sean Wang
eba6dff581
Fixed #24358 -- Corrected code-block directives for console sessions.
2015-02-22 09:35:39 -05:00
Loic Bistuer
bed504d70b
Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
2015-02-20 21:34:09 +07:00
Marc Tamlyn
32d4db66b9
Update converters to take a consistent set of parameters.
...
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
2015-02-20 11:35:52 +00:00
Aymeric Augustin
1bfcc950ab
Set context.template instead of context.engine while rendering.
...
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
2015-02-19 22:08:11 +01:00
Aymeric Augustin
15b711b5ee
Deprecated TEMPLATE_DEBUG setting.
2015-02-15 20:47:04 +01:00
Andrei Kulakov
1f9e44030e
Fixed #23932 -- Added how-to on migrating unique fields.
2015-02-05 16:26:45 -05:00
darkryder
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
2015-02-03 14:59:45 -05:00
Tim Graham
570912a97d
Added a "Writing migrations" how-to.
2015-02-03 13:09:54 -05:00
Preston Timmons
cd4282816d
Fixed #18651 -- Enabled optional assignments for simple_tag().
2015-02-03 10:44:33 -05:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Tim Graham
0f169098ef
Removed BaseCommand.validate() per deprecation timeline; refs #16905 .
2015-01-18 14:49:51 -05:00
Tim Graham
4b8d3bbab5
Standardized indentation in docs/howto/custom-management-commands.txt.
2015-01-17 13:38:01 -05:00
Tim Graham
4a03d348c7
Removed BaseCommand.requires_model_validation per deprecation timeline.
2015-01-17 12:59:07 -05:00
Tim Graham
18192b9fa4
Replaced deprecated requires_model_validation in docs.
2015-01-17 12:51:50 -05:00
Tim Graham
00a11994a5
Removed support for AppCommand.handle_app() per deprecation timeline.
2015-01-17 12:34:34 -05:00
Tim Graham
4aa089a9a9
Removed support for custom SQL per deprecation timeline.
2015-01-17 10:16:06 -05:00
Tim Graham
67235fd4ef
Removed support for initial_data fixtures per deprecation timeline.
2015-01-17 09:59:25 -05:00
Tim Graham
41f0d3d3bc
Removed FastCGI support per deprecation timeline; refs #20766 .
2015-01-17 08:32:31 -05:00