4 ms·
How is this different from the Ruby on Rails way? I have been away from the Django project for a long time, and I really like the Rails way. I have supported a
by kawsper 14y ago
How is this different from the Ruby on Rails way?
I have been away from the Django project for a long time, and I really like the Rails way. I have supported anyway, everyone deserves a proper migration system.
- andrewgodwin 14y agoSouth is actually based on ActiveRecord's migrations a little bit (or rather, it was 4 years ago) but the key difference is autodetection of changes - Rails models are essentially declared via migrations, while Django ones are created in a separate models.py file, so there's a need to detect when changes are made.
- damncabbage 14y agoIs it anything like DataMapper's[1] auto_upgrade!() and model definition approach? 1. http://datamapper.org/why.html http://datamapper.org/why.html