The model is as simple as can be:

class Provider(models.Model):
    name = models.CharField(max_length=100)
    logo = models.ImageField(upload_to='logo/',
                             blank=True, null=True)


Thanks.


--
omat



On Dec 6, 4:45 pm, Kenneth Gonsalves <law...@au-kbc.org> wrote:
> On Sunday 06 Dec 2009 4:27:47 pm omat wrote:
>
> > Sorl thumbnail is creating invalid directories for thumbnails in my
> > development environment (mac os x, django dev server).
>
> do not blame Sorl thumbnail - please post that part of your model that shows
> 'upload_to' setting.
> --
> regards
> Kenneth Gonsalves
> Senior Project Officer
> NRC-FOSShttp://nrcfosshelpline.in/web/

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.


Reply via email to