#25841: Rendering errors in django admin site causes a HTTP 500
----------------------------------+-----------------
     Reporter:  benzid-wael       |      Owner:
         Type:  Bug               |     Status:  new
    Component:  contrib.postgres  |    Version:  1.8
     Severity:  Normal            |   Keywords:
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+-----------------
 In the admin site when I entered a bad data for a postgres ArrayField, I
 got Http 500, my field is defined as bellow:

   {{{#!python
 platforms = ArrayField(
         models.CharField(max_length=10, choices=PLATFORMS_CHOICES),
         verbose_name=_("Supported platforms")
 )
 }}}

 You can see the traceback [https://gist.github.com/1a96a6e4f42aec599201
 here]

 I also created validator for the platforms field, but it seems that the
 error happens before calling my validator

--
Ticket URL: <https://code.djangoproject.com/ticket/25841>
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.f5dd28ed268c173f925d63eb441e0189%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to