Re: FileField; url oddness

2008-10-31 Thread csingley
On Oct 31, 7:05 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > My guess is that you need a trailing slash here. Without it, the > urljoin() function doesn't know 'reports' is a directory, so  it > strips 'reports' out and replaces it with the path from the database. > This is why your settings

Re: FileField; url oddness

2008-10-31 Thread Marty Alchin
On Fri, Oct 31, 2008 at 1:42 PM, csingley <[EMAIL PROTECTED]> wrote: > report_storage = ReportStorage(location='%s/reports' % > settings.MEDIA_ROOT, >base_url=settings.MEDIA_URL > +'reports') My guess is that you need a trailing slash here. Without it, the urlj