models.py and views.py based on Pabitra's meta model