get_changeform_initial_data with ManyToMany

2021-07-09 Thread Thibault Thomas
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 make it work ? Thanks, Thibault -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

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: