recent changes to views.py and eden_sql_builder.py