[Fixed]-How to view the SQL created for test models in Django?

1👍

The error was caused, because a Decimal Field in a test model was missing two arguments that where necessary (max_digits and decimal_places). This slipped by unnoticed, when using the SQLite backend.

Still no clue on how to examine the SQL that is automatically created for test models, so any hints on this matter would be appreciated.

👤Brutus

Leave a comment