anirudh-eka / dashtag

MIT License
7 stars 12 forks source link

Consolidate settings and setting_store models #125

Open anirudh-eka opened 8 years ago

anirudh-eka commented 8 years ago

I don't think it is necessary for this divide with Settings and SettingStore, and it is worth the time exploring and refactoring that logic into one model that has the right interface for the UI and the app, at large, and at the same time translate settings into the key value pair in the db. This will also bring the validations together in one model. The dependencies should be enforced consistently in the system at large. In fact it will introduce some confusion if settings that are valid in one page, comes up as invalid for another.