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
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
2 matches
Mail list logo