I solved this issue by making the FileField (or ImageField) save the
files into an Apache (or other web server) served directory. Though
obviously this has security implications so I only do this for the
password protected admin.

Hope that helps

cheers, Jon

On Jul 15, 12:33 am, reduxdj <patricklemi...@gmail.com> wrote:
> I want to use ImageField for users to upload static content and I need
> a little advice from a some django pros on how to do this in a dev
> enviornment. I notice the disclaimer that django dev server should not
> used to serve static content, or it shouldn't be.  So...
>
> What's the best practice for this then?
> Right now, I love the simplicity of the django dev webserver, should i
> switch the devserver to nginx?
> Does that have the ability to know when i make a change to a python
> file without a server restart necessary?
> Is there anything else I should know.
>
> Thanks so much,
> Patrick

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