Hello,

I'm curious as to how to correctly store user uploaded files to a
database in Django. I was able to do this once in my django code, but
I replicated this in another section and it doesn't work. Basically, I
have added a new field in my model: img =
models.ImageField(upload_to='folder/').

When I attempt to upload a file though, nothing happens and the file
doesn't show up in the filesystem. Django doesn't throw any errors
though. I've looked through the documentation on djangoproject.com,
but nothing is working. Perhaps I'm looking at the wrong thing...

Could anyone give me any pointers? Perhaps an example?

Thanks!

Best,

Jon

-- 
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