upload_to should not have a trailing slash

On Dec 7, 5:16 am, omat <[email protected]> wrote:
> 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 <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to