Hi guys (specially Marty Alchin I think)!

I've realized about a little issue with FileField in admin. Issues are
invalid html code in widget (unclosed tag and invalid target
attribute), and some labels that aren't translatable.

I think that you're rewriting the whole FileField, but may be we could
fix this because it's just a very little change. I think it's just
changing:

output.append('Currently: <a target="_blank" href="%s%s">%s</a>
<br>Change: ' % (settings.MEDIA_URL, value, value))

(on .../django/contrib/admin/widgets.py line 75)

for something like:

output.append('%s: <a href="%s%s">%s</a> <br/>%s: ' % (_('Currently'),
settings.MEDIA_URL, value, value, _('Change')))


Make sense creating the ticket?

Thanks,
  Marc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to