3 ms·
Funny you should mention Django, because its the magic framework in python land that does all those things you label Rails doing and it does it way way worse th
by aivosha 11y ago
Funny you should mention Django, because its the magic framework in python land that does all those things you label Rails doing and it does it way way worse than Rails.
- batiste 11y agoCare to develop what he labeled and how Django is making does it worse than Rails? I have a hard time to see it knowing both Frameworks.
- acdha 11y agoThat might plausibly have been true in the past, at least if you hadn't heard of Zope/Plone, but Django has been moving away from that for close to a decade: https://www.djangoproject.com/weblog/2006/may/01/magicremoval/ https://www.djangoproject.com/weblog/2006/may/01/magicremova... By now, it's hard to tell what you had in mind – something like contrib.admin or the global settings file?
- jsmeaton 11y agoThe only real magic left in Django is the metaclasses that ORM models use to turn class based fields into instance level descriptors. class Model(models.Model): field = models.SomeField() rather than.. class Model(models.Model): def __init__(self, *args, **kwargs): field = models.SomeField() super(*args, **kwargs) Django is most certainly the framework that bundles a whole lot of choices together (similar to Rails), but the magic it performs on behalf of the user is extremely minimal.