Re: HowTo: Django view as a class

2008-08-27 Thread Jenan Wise
V: Defining a __call__ method will make *instances* of the class callable. Calling the class itself will still just instantiate it. On Tue, Aug 26, 2008 at 7:00 AM, V <[EMAIL PROTECTED]> wrote: > > Hi! > > Interesting solution. > > Another possibility if you would like to stick with a class is

ImageField with core=True: working as intended or bug?

2006-02-12 Thread Jenan Wise
I have a many to one relationship: class Album(meta.Model): # ... class Picture(meta.Model): album = meta.ForeignKey(Album, edit_inline=meta.TABULAR) image = ImageField(upload_to="pictures/") # ... The only core field for Picture is image. However, this seems to automatically