3 ms·
Many people often try to shoehorn Django into whatever app they're writing and come away with less than ideal experiences. I've always looked at Django as a gr
by mtrichardson 19y ago
Many people often try to shoehorn Django into whatever app they're writing and come away with less than ideal experiences. I've always looked at Django as a great app for what it's designed for, which is basically a CMS for trusted users. Sure, it can be used to make almost anything, but anytime I move beyond the trusted-user-CMS area, I avoid it.
- mtrichardson 18y agoThis is really old, but I wanted to post further on this. After continuing to use Django, I got past the admin interface and have been building some pretty great stuff with it. Even hosted a sprint in Portland, OR. There are still issues, in my opinion, around contrib.auth.User but I officially retract my 'only useful for trusted CMS' opinion.
- nikolaj 19y agoHaving built many different apps in Django in the last year, I strongly disagree with this. Django has a clever admin interface that gives you easy access to every data model you can dream up, but this is only a really neat hack. Django provides a very clean layer on top of the database, and a great approach to structuring a system (apps, included urls.py, template dirs, templatetags, middleware). As with anything, though, the more complex the task, the more you need to be aware of what it is doing under the hood. Understanding when Django does lazy queries, where things are processed, etc. is very important.
- bootload 19y ago"... Django has a clever admin interface that gives you easy access to every data model you can dream up, but this is only a really neat hack. ..." The best thing in django IMOBO is the admin & the fact it makes you concentrate and work on the data first. On the other hand the template engine logic (at least the way some users uggest you use it) [0] is pretty ordinary and unrealistic (LJWorld is mostly read hence static templates). I still think I had a better time using tt2 (TemplateToolkit). [0] http://www2.jeffcroft.com/blog/2007/aug/09/myth-content-and-presentation-separation/ http://www2.jeffcroft.com/blog/2007/aug/09/myth-content-and-...
- bdr 19y agoI'm guessing you came from Rails, and thought that the django admin interface was supposed to be the same as Rails scaffolding.
- mtrichardson 19y agoNope - while I've played with Rails I wasn't impressed enough to move away from Django.