DragonSlayre,
django-thumbs fields act exactly the same way as any ImageField (the
inherit from ImageFIeld), so they can be blank and null. That
shouldn't be a problem.
Regards,
Antonio Melé
http://django.es/blog/
On 20 ene, 19:21, DragonSlayre wrote:
> Yeah, I had to add a related_name to m
Yeah, I had to add a related_name to my ForeignKeys e.g:
first_photo = models.ForeignKey(Image, blank=True, null=True,
related_name="first photo")
The problem now is that with foreign keys, it generates a drop down
list to select the images - whereas, I want a browse type text box to
choose a
On Tue, Jan 20, 2009 at 2:28 AM, DragonSlayre wrote:
> [snip details of problem]
>
> This gives me loads of errors - i'm pretty sure it's because of the
> ForeignKeys.
>
Without trying it, I'm guessing you got four errors. If they are the errors
I think they are, the error message actually trie
I'm using django-thumbs (http://code.google.com/p/django-thumbs/), and
the problem with it is that you can't stick blank=True, null=True when
you declare a field in your model.
To get around this, I thought I'd wrap it in another model, and
reference it from my Posting model, which contains infor
Hi,
I've seen some posts from a while back, but didn't find any real
solution when searching to find out how to put multiple images (or any
field for that matter) into a form (mainly a ModelForm)
Basically what I want to have is a form that has a one to many
relationship from a post to images,
5 matches
Mail list logo