Re: imagefield, admin, wrong link

2006-03-11 Thread Jakub Labath
Hi, I tracked this down. You can overwrite the template that is responsible for the file widget, like this. 1. in your templates directory create widget directory. 2. copy trunk/django/contrib/admin/templates/widget/file.html to the widget folder you created. 3. edit as needed. Regards On 2/

Re: imagefield, admin, wrong link

2006-02-01 Thread arthur debert
Hi Gabor, I am dealing with the same issue here, and I've opened a ticked for this : http://code.djangoproject.com/ticket/1315 It seems that on the admin's template ('file.html'), filefields are susbtituted to "bound_field.original_url" which evaluates to blank even if you use the "bound_fiel

imagefield, admin, wrong link

2006-01-19 Thread Gábor Farkas
hi, i have an ImageField in a model. when i use the admin interface, everything is fine, except one thing: the ImageField part consists of: == Currently: LINK Change: == and the LINK is wrong. it's content is ok, but the HREF is empty. example: Currently: logos/firstlogo.png so

Re: imagefield, admin, wrong link

2006-01-19 Thread Gábor Farkas
Gábor Farkas wrote: hi, i have an ImageField in a model. when i use the admin interface, everything is fine, except one thing: the ImageField part consists of: == Currently: LINK Change: == and the LINK is wrong. it's content is ok, but the HREF is empty. example: Currently: lo