#28747: Unclosed single quotes in example
-------------------------------------+-------------------------------------
               Reporter:  Oleksandr  |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  1.11
  Uncategorized                      |
               Severity:  Normal     |       Keywords:  Comment, typo
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 In file: ''**django/conf/global_settings.py**''
 In lines ''251-253'' there are an example with list of compiled RegExps.
 Three of them contain unclosed quotes.
 Here is the code:

 {{{
 #    IGNORABLE_404_URLS = [
 #        re.compile(r'^/apple-touch-icon.*\.png$'),
 #        re.compile(r'^/favicon.ico$),
 #        re.compile(r'^/robots.txt$),
 #        re.compile(r'^/phpmyadmin/),
 #        re.compile(r'\.(cgi|php|pl)$'),
 #    ]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28747>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.8dc53493cfb6c3d01fa391aba4a6e1e8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to