djangosnippets.org: Latest snippets posted by christianhttps://djangosnippets.org/users/christian/2007-10-01T05:18:14.372772-05:00christianadmin: edit related object shortcut
2007-10-01T05:18:14.372772-05:00christianhttps://djangosnippets.org/snippets/431/<p>Adds a shortcut to edit releated objects right/ForeignKey fields.
an edit symbol will be shown right next to the "add annother" link on all select boxes,
with opens the releated object currently selected in a popup window.
<strong>depends on jquery</strong></p>
<p>Add this to the head of "templates/admin/base.html".
you may need …</p>
Freely redistributablemiddleware: external links open in new window
2007-10-01T05:07:28.532557-05:00christianhttps://djangosnippets.org/snippets/430/<p>Removes all target="..." attributes form hyperlinks, and then adds target="_blank" to all links starting with "http"</p>
Freely redistributable