Fixing var referenced before assignment on views
adding base.js
changes in table
changes in marmita/urls and views and meals/models and views