#31967: Django fails with FieldError: Expression contains mixed types: 
MoneyField,
IntegerField. You must set output_field.
-----------------------------------------+------------------------
               Reporter:  Matt Hegarty   |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  master
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 This is related to #31919.  Please see attached for full stack trace.

 This is a regression because it does not occur in 3.1.

 To reproduce:

 {{{
 git clone https://github.com/matthewhegarty/rest-framework-tutorial
 cd rest-framework-tutorial
 git checkout bug-expression-contains-mixed-types
 python3 -m venv env
 source env/bin/activate
 pip install -r requirements.txt
 ./manage.py migrate
 ./manage.py runserver
 }}}

 browse to http://localhost:8000/snippets/

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31967>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/057.2dfc14a12bbdc4778947a9aaba304e55%40djangoproject.com.

Reply via email to