Opened 16 years ago
Closed 16 years ago
#11337 closed (invalid)
Possible missing comma in Tutorial Part 1 (but the interpreter is the final authority)
Reported by: | thiggins | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | missing, comma, syntax | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This is what we have:
INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'mysite.polls' )
I'm expecting, with a trailing comma, the following:
INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'mysite.polls', )
Note:
See TracTickets
for help on using tickets.
A trailing comma is only necessary for a single item tuple, thus the current code works fine.