On Tue, Feb 8, 2011 at 9:39 AM, Ian Stokes-Rees <ijsto...@hkl.hms.harvard.edu> wrote: > I'm (reasonably) happy to include base models in INSTALLED_APPS, but > this argument: > > On 2/8/11 4:32 AM, Tom Evans wrote: >> Explicit is better than implicit. If you want models from app 'base' >> installed on your system, you add the 'base' app to INSTALLED_APPS. >> Otherwise, its a series of $MAGIC working out what apps/DB tables are >> required, and $MAGIC is never good - might as well be using rails. > > feels fairly arbitrary -- the whole point of a web framework like Django > is that "magic happens", and stuff "just works". > > Ian >
As someone for whom performing magic is a hobby, I'm compelled to point out this secret all magicians know: There's no such thing as magic. Therefore, if you want the appearance of magic you must be well-prepared. If you "look at the other hand" when Django's magic happens with model inheritance, you'll see contenttypes doing its dirty work. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.