Opened 16 years ago
Last modified 13 years ago
#8696 closed
Online docs using incorrect apostrophe character — at Version 2
Reported by: | jjackson | Owned by: | Jacob |
---|---|---|---|
Component: | Documentation | Version: | 1.0-beta |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
The online docs at http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02
are using incorrect characters for apostrophes. The example url patterns
urlpatterns = patterns(‘’, # Example: # (r’^{{ project_name }}/’, include(‘{{ project_name }}.foo.urls’)), # Uncomment the next line to enable admin documentation: # (r’^admin/doc/’, include(‘django.contrib.admindocs.urls’)), # Uncomment the next line to enable the admin: (r’^admin/(.*)’, admin.site.root), )
cannot be cut and pasted because they are using ’ instead of ' to delimit their strings. You'll notice that the code color-coding is incorrect. A search for ".. parsed-literal::" in the source turned up five hits; these four files show this problem with delimiters:
docs/intro/tutorial02.txt docs/howto/deployment/modpython.txt docs/howto/custom-template-tags.txt docs/howto/apache-auth.txt
It looks like parsed-literal is the wrong tag to use here.
Change History (2)
comment:1 by , 16 years ago
Component: | Uncategorized → Documentation |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
reformatted description