Hello again...

I have my site working with mod_wsgi, but I still have some problem 
using the admin interface and managing uploaded files.

On the admin side all static files aren't loaded. So there is no css and 
you can imagine the way I see the admin pages...

I also have some problem serving uploaded file which are in the MEDIA 
directory. I have see the problem is in the link for downloading the 
file. It points to 'http://localhost:8000/path/to/file' I think the 
problem is in the ":8000". If I cut it away from the browser address 
bar, the file is served fine. But... why there is that 8000?? here is 
how I build the link:


 <a 
href="{{attach.attacched_file.url}}">{{attach.attacched_file.name}}</a></td>

where:
"attach" is the model object containing the file
"attacched_file" si the models.FileField object

The strange thing is that my own css and javascript are loaded fine... 
the problem is just on the admin side a for uploaded files..


Notice that both uploaded files and admin static files are working on 
the development server.

any help is appreciated

Regards,
Segolas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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