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.exceptions.ImproperlyConfigured: Error importing database > router MyBeeDBRouter: "cannot import name connection" How i can fix it please? Here we can found my database router and an abstract of my settings.py dbrouter.py: http://pastebin.com/ejMXYDd9 settings.py: http://pastebin.com/QeqyF9eH Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/q72BEkcwIkQJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.