get_changeform_initial_data with ManyToMany

2021-07-09 Thread Thibault Thomas
vehicule, } __ but I can only prepopulate soustypes_piece correctly. I remember I could prepopulate vehicules when I didn't use an intermediate model (using 'through'). This may be why I can still prepopulate soustypes_piece. Any idea how I can

Database Router result of error message

2012-07-13 Thread Thibault
Hello, I would like to use multiple database to save model of each application of my project on separate database. I have an issue with Django 1.4 on Python 2.6. I have created a Database Router using the official documentation but when I run the server, i have this error message: django.core