Improve documentation of django.contrib.redirects.
I think there are a couple small improvements that could be made to the docs here:
- The "Via the Python API" section could do with a simple shell example for creating a
Redirect
, since otherwise the fields aren't mentioned in the docs. I also imagine it might be used by relatively new users who aren't confident with the ORM.
- The
Redirect.new_path
field's help_text
states full URL starting with “http://””
. This doesn't mention the now-more-common https://
, nor the fact that arbitrary protocols are technically supported, such as onion://
. Perhaps full URL starting with a scheme such as
https://
Change History
(11)
Description: |
modified (diff)
|
Summary: |
Improve documentation of django.contrib.redirects → Improve documentation of django.contrib.redirects.
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Yash Saini
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
I'd be happy to try to improve some of these docs unless you wanted to do that @adam