weird 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/17 4:43 UTC
Read the original article Hit count: 297

Filed under:
|

My model

class TheFile(models.Model):
    document = models.FileField(upload_to="archivos")

The weird 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

Related posts about django

Related posts about django-admin