Re: Queries for instances with subclasses?

2009-02-28 Thread Samuel Cormier-Iijima
On Feb 27, 12:25 pm, Calvin Spealman wrote: > On Fri, Feb 27, 2009 at 11:45 AM, Øyvind Saltvik > > Should be doable but you need to filter on a field of the subclass > > being null. > > > SomeModel.objects.filter(somemodelsubclass__somefield=None) , > > somefield cannot be

Re: Proposal: installmedia command - A story for distributing media with apps

2008-09-16 Thread Samuel Cormier-Iijima
On Sep 16, 11:05 pm, Brian Beck <[EMAIL PROTECTED]> wrote: > On Sep 16, 10:49 pm, "Rajeev J Sebastian" <[EMAIL PROTECTED]> > wrote: > > > A problem would be referencing images, and media in css/js files. > > Currently, in all our projects we use /site_media/ as the MEDIA_URL, > > so this not a