#19012: Spaces instead of tabs
-------------------------------+--------------------------------------
Reporter: anonymous | Owner: nobody
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.4
Severity: Normal | Resolution: worksforme
Keywords: Tabs | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by aaugustin):
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
The style guide for Python code (PEP8) recommends indenting with 4 spaces,
and this convention is used throughout Django's code and documentation.
This isn't going to change.
Copy-pasting this code snippet respects the indents for me, and it works
without any further changes.
Your editor might improperly attempt to auto-indent pasted code (for
instance vim suffers from this problem if you forget to enter paste mode).
--
Ticket URL: <https://code.djangoproject.com/ticket/19012#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.