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: <select name="db_id"> {% for db in db %} <option value "{{ db.DbCode }}">{{ db.DbCode }} | {{ db.DbName }}</option> {% endfor %} </select> where DbCode is db_alias from settings.py. How to pass DbCode value to routers.py? Thanks
-- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.