Re: invalid literal for int() with base 10 trying to access uploaded image

2008-09-20 Thread kelvin pompey
ok I've set the MEDIA_URL and MEDIA_ROOT, but when I click the link I get the 404 file not found error message. If i set ADMIN_MEDIA_PREFIX to a blank string then I can access the link. But there is a problem, when I try to change the image through the form I get a page does not exist error message

Re: invalid literal for int() with base 10 trying to access uploaded image

2008-09-18 Thread kelvin pompey
Is there a way to modify the html for the admin form to display the image using the html img tag instead of having a link to the image? On Thu, Sep 18, 2008 at 11:50 AM, Lisa Dusseault <[EMAIL PROTECTED]>wrote: > I've seen the same problem with FileFields, so it's not just ImageFields. > I haven'

Re: invalid literal for int() with base 10 trying to access uploaded image

2008-09-18 Thread kelvin pompey
Everything is being handled by the admin application. Environment: Request Method: GET Request URL: http://localhost:8000/admin/grades/student/1/photos/desktop.png/ Django Version: 1.0-final-SVN-unknown Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.content