3 ms·
There's additional confusion in Django, since what Rails calls "controllers" are called "view" functions in Django.
by baddox 16y ago
There's additional confusion in Django, since what Rails calls "controllers" are called "view" functions in Django.
- elithrar 16y agoDjango likes to call it 'MTV', or Model-Template-View. Templates are similar to Rails' Views (markup with variables/tags) & Views are similar to Rails' Controllers (methods used to validate/process data coming from/going to the Model).
- baddox 16y agoYeah, this thread shows that even frameworks that have things called models, views, and controllers use them in different ways, so it's really not a big deal. It is, however, difficult to word things when explaining to a Django developer the differences between it and Rails.