wierd FileField url in admin site
Posted
by panchicore
on Stack Overflow
See other posts from Stack Overflow
or by panchicore
Published on 2010-04-16T23:36:49Z
Indexed on
2010/04/16
23:43 UTC
Read the original article
Hit count: 341
django
|django-admin
My model
class TheFile(models.Model):
document = models.FileField(upload_to="archivos")
The wierd HTML admin link:
<a hacking_google_maps_and_google_earth.pdf="" archivos="" media="" localhost:8000="" http:="" href="" target="_blank">archivos/Hacking_Google_Maps_And_Google_Earth.pdf</a>
If I firebug-edit the href=""
it works :S
© Stack Overflow or respective owner