#8696: Online docs using incorrect apostrophe character
------------------------------------+---------------------------------------
Reporter: jjackson | Owner: jacob
Status: assigned | Milestone: 1.0
Component: Documentation | Version: 1.0-beta-1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Old description:
> 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.
New description:
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.
Comment (by ramiro):
reformatted description
--
Ticket URL: <http://code.djangoproject.com/ticket/8696#comment:2>
Django Code <http://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 this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---