Re: MEDIA_ROOT, MEDIA_URL and upload_to confusion (~.~)

2009-01-16 Thread DragonSlayre
Yeah, that makes good sense - I tried finding out info on djangoproject but didn't quite understand what they were for. Thanks On Jan 17, 7:04 pm, Malcolm Tredinnick wrote: > On Fri, 2009-01-16 at 21:06 -0800, DragonSlayre wrote: > > I'm using django-thumbs

Re: MEDIA_ROOT, MEDIA_URL and upload_to confusion (~.~)

2009-01-16 Thread Malcolm Tredinnick
On Fri, 2009-01-16 at 21:06 -0800, DragonSlayre wrote: > I'm using django-thumbs (http://code.google.com/p/django-thumbs/) to > create some thumbnails for my site: > > class Image(models.Model): > title = models.CharField(max_length=50, blank=True, null=True) > caption =

Re: MEDIA_ROOT, MEDIA_URL and upload_to confusion (~.~)

2009-01-16 Thread DragonSlayre
Ok, I got it working, I changed: > photo = ImageWithThumbsField( > upload_to="site_images", > sizes=((270,150),)) to: photo = ImageWithThumbsField( upload_to="static/site_images", sizes=((270,150),)) and > MEDIA_URL = 'static/' to:

MEDIA_ROOT, MEDIA_URL and upload_to confusion (~.~)

2009-01-16 Thread DragonSlayre
I'm using django-thumbs (http://code.google.com/p/django-thumbs/) to create some thumbnails for my site: class Image(models.Model): title = models.CharField(max_length=50, blank=True, null=True) caption = models.CharField(max_length=100, blank=True, null=True) photo =