pass variable value store in dictionary to url parameter

2014-07-28 Thread pattinson
I pass dict addon_id_value_mapping = {'menu': '1', 'opening_hour': '2', 'books': '3', 'doctors': '4'} and addon_list = [{u'menu': [{u'price': 50, u'name': u'Momo', u'price_level': u'cheap'}, {u'price': 510, u'name': u'potato', u'price_level': u'expensive'},

Multiple Form Submit with Single Submit Button

2013-07-29 Thread pattinson
I'm currently working with django project. I had to filter the data store on the database based on the user input on form (at template) as looked below. On form user either enter value or