On 21-Jan-08, at 11:37 AM, oak wrote:
> (upload_to="/albums"
upload_to="albums' - no '/'
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for the common man: http://registration.fossconf.in/web/
--~--~-~--~~~---~--~---
For some reason when I upload files, they are getting put straight
into my c:/ root rather than the MEDIA_ROOT specified in the
setting.py.
ie.
If I have this in my model:
image = models.ImageField(upload_to="/albums",blank=True, null=True)
it will create a directory c:\albums and upload the f
2 matches
Mail list logo