OK, think I may have found the problem with this. In the settings.py,
ADMIN_MEDIA_PREFIX is set to /media/ by default. I'm going to sort
through the code, but I think that's the starting point.
Comments?
J
In case this helps, entering /media in the url produces the error
everytime, even though /media is not in any of my url files.
Thanks
J
It's not actually serving media, that was just the url I used. If I
change the URL to be something else, it renders the page corrently - it
currently performs an os.listdir and passes the list to the template
via render_to_response.
Regards
J
On 11/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Currently, I'm just using django-admin.py runserver
Last I checked, the built-in server didn't handle media. You need to
have an actual web server running on the port you specify as the media
URL, as far as I know.
--
"May the forces
On Friday 04 Nov 2005 3:43 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've searched the groups, but can't seem to find anything regarding
> this oddity. I've a URL of /media ( http://localhost/media, for
> example ), and when I browse to it, I get presented with this
> message:
>
> Permission
Hi,
I've searched the groups, but can't seem to find anything regarding
this oddity. I've a URL of /media ( http://localhost/media, for
example ), and when I browse to it, I get presented with this message:
Permission denied:
6 matches
Mail list logo