#31919: Django fails with FieldError: Expression contains mixed types: IntegerField, AutoField. You must set output_field. -------------------------------------+------------------------------------- Reporter: StefanosChaliasos | Owner: Simon | Charette Type: Bug | Status: assigned Component: Database layer | Version: master (models, ORM) | Severity: Release blocker | Resolution: Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by felixxm):
* stage: Accepted => Ready for checkin Comment: Matt, combination of `MoneyField` and `IntegerField` works for me, because `MoneyField` is a subclass of `DecimalField`. Please open a separate issue if you can provide a sample project that reproduces your issue. -- Ticket URL: <https://code.djangoproject.com/ticket/31919#comment:9> 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/075.e1c1482c986359bc6d46a2a0e5c0919e%40djangoproject.com.