Re: database routers from html code

2012-05-14 Thread Antonimus
Thanks, I was hoping there is an easy way :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

database routers from html code

2012-05-14 Thread Antonimus
Hi, I'm new to django and web framework. What I'm trying to do is to select what database to connect from html template select. In the login form, besides user and password, it's a select field with database alias to connect: {% for db in db %} {{ db.DbCode }} | {{