#14831: Django Template Style Guide
-------------------------------------+-------------------------------------
     Reporter:  Simon Meers          |                    Owner:  Ryan
                                     |  Cheley
         Type:  New feature          |                   Status:  assigned
    Component:  Documentation        |                  Version:  1.2
     Severity:  Normal               |               Resolution:
     Keywords:  template, style,     |             Triage Stage:  Accepted
  format                             |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ryan Cheley):

 Looking at the `{% block ... %}` I have this to locate the occurences

 {{{
 find . -name "*.html" ! -path "./venv/*" -exec grep -En
 "\{%\s*block\s+\w+\s*%\}" {} + | awk -F: '$2 > 2 {print "Filename: " $1 ",
 Line number: " $2 ", Matched string: " $3}'
 }}}

 This returns 365 files in 37 directories.

 Further investigation will have to wait until next time though

-- 
Ticket URL: <https://code.djangoproject.com/ticket/14831#comment:16>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d041ed1d7-39eb973a-6bcc-45d0-914c-3c09ffca46ea-000000%40eu-central-1.amazonses.com.

Reply via email to