Commit Graph

2635 Commits

Author SHA1 Message Date
Hasan Ramezani 5fc5d93512 Fixed #29956 -- Allowed overriding an order field widget in formsets. 2019-03-21 11:51:01 +01:00
alexanderblnf 406de977ea Fixed #30161 -- Added how to decorate class-based views to view decorators docs. 2019-03-12 10:55:37 -04:00
Samuel Gaist 75840688f9 Doc'd the use of --noinput for test database handling. 2019-03-05 20:25:22 -05:00
Tobias Bengfort 632d4861dd Clarified permission-related docs. 2019-02-28 15:27:15 +01:00
Tim Graham 50f09264ae Refs #29683 -- Updated multi-db docs for view permission. 2019-02-25 14:56:36 -05:00
Jon Dufresne 7feddd878c Fixed #18707 -- Added support for the test client to return 500 responses. 2019-02-20 12:16:10 +01:00
Mariusz Felisiak edec11ce86
Fixed #30187 -- Moved "install Django" command to a console box. 2019-02-16 07:56:28 +01:00
Claude Paroz a8e2a9bac6 Refs #15902 -- Deprecated storing user's language in the session. 2019-02-14 10:23:02 -05:00
Dan Davis 2bd8df243a Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581 (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
2019-02-13 13:59:44 -05:00
Jonatan Alexis Anauati 85ada61ac4 Fixed indentation in docs/topics/templates.txt. 2019-02-11 16:52:31 -05:00
Jon Dufresne c492fdfd24 Removed default empty content argument from HttpResponse calls. 2019-02-09 16:27:32 -05:00
Mariusz Felisiak 25829197bb
Removed extra characters in docs header underlines. 2019-02-08 21:38:30 +01:00
Daniel Roseman 6da28d5edf Used LoginRequiredMixin in "Models and request.user" example. 2019-01-31 18:01:53 -05:00
Tim Graham 7e6b214ed3 Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
Jon Dufresne 7785e03ba8 Fixed #30137 -- Replaced OSError aliases with the canonical OSError.
Used more specific errors (e.g. FileExistsError) as appropriate.
2019-01-28 11:15:06 -05:00
Tim Graham fcfb730658 Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
The addition of self.connection.check_constraints() in
7289874adc is the cause.
2019-01-28 10:05:25 -05:00
Tim Graham 8045dff98c Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham 573ec714e5 Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham ec7e179aeb Removed versionadded/changed annotations for 2.1. 2019-01-17 10:50:25 -05:00
Arthur Rio 181fb60159 Fixed #11154, #22270 -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Collin Anderson 769355c765 Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model. 2019-01-15 11:12:17 -05:00
David Beitey 885cb0d390 Fixed "lets" mistakes in docs. 2019-01-14 20:32:19 -05:00
can 7d3b3897c1 Refs #29738 -- Allowed registering serializers with MigrationWriter. 2019-01-11 18:13:16 -05:00
Simon Charette 41e73de39d Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
2019-01-10 19:11:21 -05:00
Simon Charette 8c775391b7 Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases. 2019-01-10 19:11:21 -05:00
Matt Wiens e817ae74da Followed style guide for model attribute ordering. 2018-12-27 19:34:14 -05:00
Vedran Karačić 293db9eb36 Updated OWASP Top 10 link to the latest version. 2018-12-27 09:23:40 -05:00
CHI Cheng b7dbd5ff68 Fixed broken links to PyYAML page. 2018-12-27 10:48:37 +01:00
François Freitag e671337e8b Fixed #29750 -- Added View.setup() hook for class-based views. 2018-12-21 19:01:11 -05:00
Carlton Gibson a394289b58
Fixed #30036 -- Removed unused imports in pagination example. 2018-12-12 18:49:47 +01:00
raratiru 793a71b7be Fixed #29991 -- Doc'd logger propogation for the default logging config. 2018-11-29 16:59:43 -05:00
Damian Dimmich 133e79399a Updated docs for fast column creation with defaults in PostgreSQL 11. 2018-11-26 09:51:29 -05:00
andreage 78fc64578a Fixed typo in docs/topics/i18n/translation.txt. 2018-11-23 10:11:51 +01:00
Prabakaran Kumaresshan 8250538bfc Fixed #29864 -- Added link targets for low-level cache API. 2018-11-15 17:32:41 -05:00
François Freitag 9b15ff08ba Used auto-numbered lists in documentation. 2018-11-15 13:54:28 -05:00
Katie McLaughlin 9886dffdf4 Fixed #29940 -- Recommended using the ORM rather than raw SQL. 2018-11-13 18:15:24 -05:00
Tobias Bengfort b1243a55a5 Doc'd PermissionsMixin's usage of User.is_active and is_superuser. 2018-11-12 10:44:22 -05:00
Mads Jensen 961f8e9985 Updated some links to https and new locations. 2018-11-10 17:40:50 -05:00
Tim Graham f892781b95 Fixed #28606 -- Deprecated CachedStaticFilesStorage. 2018-10-27 11:58:29 -04:00
Jon Dufresne 136a900ef9 Refs #29877 -- Made diveinto.org URLs HTTPS. 2018-10-23 15:03:00 +02:00
za b0d716cbff Fixed #29877 -- Replaced diveintopython3.net with diveinto.org/python3/. 2018-10-23 11:55:18 +02:00
Tim Graham 043407ec7e Fixed #29880 -- Fixed typo in docs/topics/auth/default.txt. 2018-10-22 15:16:11 -04:00
Andy Chosak 084573c715 Updated Jinja2 static tag example to use django.templatetags.
As of cf546e11ac, this is the
canonical way to invoke the static tag.
2018-10-18 19:19:56 -04:00
Tom Dyson 6752c2756e Removed obsolete "ugly URL" reference. 2018-10-17 10:20:18 -04:00
Jon Dufresne 0cd465b63a Fixed #29817 -- Deprecated settings.FILE_CHARSET. 2018-10-15 17:15:41 -04:00
Peter Inglesby a1ffbfb801 Removed unused fields from aggregation docs. 2018-10-13 21:13:45 -04:00
Patrik Sletmo adfdb9f169 Fixed #29814 -- Added support for NoneType serialization in migrations. 2018-10-11 09:02:14 -04:00
Jon Dufresne e90af8bad4 Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
Cammil Taank f83a689f61 Fixed #29758 -- Documented how to test custom error views. 2018-10-01 18:16:47 -04:00
Sergey Fedoseev 8ef8bc0f64 Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00