#18843: manage.py inspectdb raises TypeError for columns containing '%'
--------------------------------------------+------------------------------
     Reporter:  airstrike                   |      Owner:  nobody
         Type:  Bug                         |     Status:  new
    Component:  Core (Management commands)  |    Version:  1.4
     Severity:  Normal                      |   Keywords:  inspectdb,
 Triage Stage:  Unreviewed                  |  TypeError
Easy pickings:  1                           |  Has patch:  0
                                            |      UI/UX:  0
--------------------------------------------+------------------------------
 > python manage.py inspectdb --database=foo

 class Foobar(models.Model):
 TypeError: not enough arguments for format string

 I've since inspected the database and spotted fields such as...

 "PARTIC _(%)_PRÉ"
 "Participação_de_Recarga_no_GROSS_(%)"

 ...which I believe are causing this error.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18843>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to