1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
Commit Graph

611 Commits

Author SHA1 Message Date
Johanan-Ayadata
97a6a678c4 Added missing lang attributes to html elements in docs. 2024-10-30 14:02:30 +01:00
Maria Hynes
163e72ebba Removed unneeded OS reference on running the test suite in contributing docs.
This is not needed as the console snippet has buttons that allows the user to choose their OS.
2024-10-29 11:34:35 +01:00
Mariusz Felisiak
f59cdd0009
Updated tutorial part count from 7 to 8 in docs/intro/reusable-apps.txt. 2024-10-21 14:20:03 -03:00
Chiara Mezzavilla
40a60d589e
Explained exception to using include() within urlpatterns in tutorial 1. 2024-10-09 11:46:26 -03:00
Meta
d2c74cfb48 Fixed #35502 -- Removed duplication of "mysite" directory name in intro docs.
Reorganized intro docs when explaining `django-admin startproject` to prevent
confusion when using "mysite" as both the top-level directory and the Django
project directory name.

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: Carlton Gibson <carlton@noumenal.es>
2024-10-09 09:12:58 -03:00
Mariusz Felisiak
2e3bc59fd3 Refs #34900 -- Doc'd Python 3.13 compatibility. 2024-10-09 09:27:33 +02:00
Marc Gibbons
6765b6adf9
Fixed #35797 -- Removed debug context processor from default project template. 2024-09-30 16:52:28 -03:00
Chiara Mezzavilla
73e8e81141
Relocated path() explanation to docs/ref/urls.txt to simplify tutorial 1.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-09-30 13:31:26 -03:00
Mariatta
01a4d8a3c7
Fixed #35737 -- Clarified where "models" comes from in tutorial 7. 2024-09-05 21:37:03 -03:00
Mariusz Felisiak
f883bef054 Refs #35591 -- Removed hardcoded "stable" version in runserver warning. 2024-08-12 10:57:02 +02:00
Andrew Miller
69aa13ffb9 Fixed #35591 -- Added unsuitable for production console warning to runserver. 2024-08-09 10:34:10 +02:00
Mariusz Felisiak
304d256674
Used :pypi: role in docs where appropriate. 2024-08-05 10:35:50 -03:00
Natalia
fb6050e784 Refs #35380 -- Updated screenshots in intro docs. 2024-08-05 09:02:01 -03:00
arjunomray
5559011c2b Fixed #35541 -- Fixed paginator border in admin CSS. 2024-07-24 12:28:23 +02:00
Tim Graham
dfd63ff434
Refs #35506 -- Reverted "global URLconf" to "root URLconf" in tutorial 1. 2024-07-12 15:09:28 -03:00
lucas-r-oliveira
2c931fda5b Fixed 35506 -- Clarified initial references to URLconf in tutorial 1. 2024-07-08 22:02:13 -03:00
Kudz
82c71f0168 Relocated database setup details to install docs to simplify tutorial 2.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-07-04 15:30:52 -03:00
Carlton Gibson
704192e478 Removed unneeded hyphens in "counterintuitive".
Follow-up to 65ad4ade74 which added
counterintuitive to the wordlist. Removes unneeded (antiquated)
hyphenated usages.

See e.g. https://www.merriam-webster.com/dictionary/counterintuitive
2024-07-04 08:30:19 +02:00
Sarah Boyce
a6dde9fbd5 Refs #35380 -- Updated screenshots in intro docs. 2024-06-25 17:45:20 -03:00
Sarah Boyce
e510bb1ab1
Fixed #35558 -- Increased inline H3 headers color prominence in admin change page. 2024-06-25 14:03:21 -03:00
arjunomray
d9bd58c3b8 Fixed #35540 -- Fixed the padding on admin login page. 2024-06-25 11:35:07 +02:00
Rosana Rufer
72b7aecbbf Fixed #35461 -- Updated misleading django-debug-toolbar instructions.
The DjDT "handle" isn't visible on the polls application as the templates
are missing <body> tags for brevity.
2024-06-21 12:01:34 +02:00
Andreu Vallbona
f812b927a5
Moved confirmation about dev server running to earlier in tutorial 1. 2024-06-09 14:51:40 -03:00
Andreu Vallbona
85240139ca Replaced usage of "patch" with more precise terms in faq, howto, and intro docs. 2024-06-09 14:38:04 -03:00
Andreu Vallbona
3556f63c4c
Simplified tutorial 1 when describing how to run the dev server. 2024-06-09 04:42:21 -03:00
Ismael
6efbeb997c
Fixed #35503 -- Removed distracting PHP reference in tutorial 1. 2024-06-08 09:41:41 -03:00
Aleksander Milinkevich
c223d14025
Corrected description of list_display being a list in tutorial 7. 2024-04-11 18:00:17 -03:00
Lang Tran
e279c724c1
Fixed #35347 -- Clarified choice_set attribute in tutorial 2. 2024-04-04 16:05:18 -03:00
Taishi Endo
0df520979a
Restored django.db.models.F import in final code snippet added at the beginning of tutorial 4. 2024-03-29 12:33:08 -03:00
Carlton Gibson
0a646c8e08 Removed distracting note from tutorial 4.
The note on a possible race condition is inappropriate in this
tutorial setting. To quote Diátaxis:

> Your job is to guide the learner to a successful conclusion. There
> may be many interesting diversions along the way … - ignore them.

Co-Authored-By: Ryan Hiebert <ryan@ryanhiebert.com>
2024-02-21 06:21:20 +01:00
Claude Paroz
f71bcc001b Changed packing recommendation to use pyproject.toml in reusable apps docs. 2024-02-01 11:01:57 +01:00
Mariusz Felisiak
305757aec1
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
2024-01-26 12:45:07 +01:00
Adam Johnson
a5622f84ab
Fixed tutorial 'background.gif' reference.
Missed in 76fda7729e.
2024-01-22 05:25:28 +01:00
Emmanuel Katchy
12ffcfc350 Updated "Dive Into Python" links. 2024-01-20 19:43:55 +01:00
Amir Karimi
27a3eee721 Fixed #31700 -- Made makemigrations command display meaningful symbols for each operation. 2024-01-17 14:00:02 +01:00
Adam Johnson
05f124348e Fixed #35084 -- Recommended 'django_' prefix for reusable app modules. 2024-01-04 09:54:37 +01:00
Adam Johnson
c65f49d3cb
Refs #33690 -- Updated tutorial for admin dark mode toggle. 2024-01-03 22:17:57 +01:00
Mohammad Yameen
bb560651c4
Corrected method/function wording in tutorial 3. 2023-12-29 06:01:18 +01:00
virgitl.io
acfdf39506
Added backticks around name argument in tutorial 3. 2023-12-29 05:57:30 +01:00
Nanami
5b52376d9f
Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's site header. 2023-12-14 10:09:34 -03:00
Mariusz Felisiak
ecfea054ee Refs #34118 -- Doc'd Python 3.12 compatibility in Django 4.2.x. 2023-11-19 16:31:46 +01:00
Natalia
d21ab70223 Reorganized tutorial's part 4 to better understand changes needed in URLConf. 2023-10-10 10:49:27 -03:00
sarahboyce
e083f3082c Refs #34043 -- Clarified how to test UI changes. 2023-10-09 10:45:29 +02:00
Mariusz Felisiak
54b23b1835
Added backticks to setuptools in docs. 2023-10-09 09:55:52 +02:00
Cerebro Cerberus
6fbe5287ac
Fixed typo in docs/intro/tutorial08.txt. 2023-06-28 07:08:51 +02:00
Howard Cox
cd413bd78a Fixed #34621 -- Made admin site header render in <div> tag.
This was problematic for screen reader users because they use headings
to navigate. Having two <h1> is confusing, and the one in the header
wasn’t particularly helpful since it’s the same on all pages.
2023-06-05 11:55:06 +02:00
Mohit Singh Sinsniwal
89f10a80d7 Fixed #34579 -- Added Django Forum to contributing guides.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-05-22 20:21:18 +02:00
Tim Graham
2c4dc64760 Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-04-17 06:55:32 +02:00
sarahboyce
868e2fcdda Fixed #32539 -- Added toggleable facet filters to ModelAdmin.
Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz
Felisiak for reviews.
2023-03-03 20:24:57 +01:00
django-bot
14459f80ee Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00