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 files to this
directory.

The documentation says that the media root will be added on the front.
I could just do it manually but I want to know if it is a problem with
the code or something I am doing wrong.

If it hasn't become apparent, I am using windows.

Any ideas are appreciated =]


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