ella/ella — Issue #64: Move all the validation to models
Author: HonzaKral
Created: 2012-02-03 01:29:42+00:00
State: open
Labels: cleanup, nice-to-have, proposal

Since we agree that newman isn't the only possibility for using ella we should move all the validation code to the models themselves (mostly just listing and publishable), what we want to validate (feel free to add to the list, just be sure to only add stuff that's required by core ella, not your admin or workflow):

- slug uniqueness for published publishables
- listing's publish_from and publish_to VS that of their publishables
- slug regex