Daniel Roseman wrote:
> 
> Before answering, I'd point out you have a very significant potential
> bug. Each of your __unicode__ methods actually uses str(). This will

Thank you, that's useful to know - one more item in the (so far!) quite 
empty bag of Django experience!

> Now, on to the question. It's actually related, in that the value that
> gets printed there is the unicode of the inline model. If you want to
> change the value, define a __unicode__ on ChangeLog. But to actually
> remove the value, you'll need to override the inline template. You can
> copy what's in django/contrib/admin/templates/admin/edit_inline/
> tabular.html and just remove lines 25-28. Place the your overridden
> template somewhere in your own templates directory, and put
> template='path/to/your/template.html' in the ChangeInline admin class.

That sort of works - it gets rid of the text, but the space on the page 
that it used to occupy is still there. I've got a better clue where to 
look now, which is good.

Thanks for your help.


-- 

Regards

Phil Edwards   |  PGP/GnuPG Key Id
Brighton, UK   |  0x68393AEE


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

Reply via email to