I'm thinking overriding the change_view on the admin model - add the
extra data to extra_context and then reference it as Rajeesh suggested
below...

On Jul 21, 9:08 am, sico <allensi...@gmail.com> wrote:
> heh... right you are!
>
> But how do I make extra data from other models available?   Hmmm... is
> it in the Form object I do this?  Are formsets perhaps what I need?  I
> haven't yet figured out how they work....  Does the admin site work
> okay with formsets ??
>
> thanks!
>
> On Jul 21, 12:02 am, rajeesh <rajeeshrn...@gmail.com> wrote:
>
> > On Jul 20, 4:06 am, sico <allensi...@gmail.com> wrote:
>
> > > Hi,
>
> > > Using django 1.0.2 and I'd like to put some extra read-only info in a
> > > sidebar on the editing forms for specific models.
>
> > > coltype= colMS looks perfect for this, but how/where do I tell django
> > > what I want to put in the sidebar??
>
> > > thanks,
> > > Simon
>
> > Try putting a sidebar block after the content block in your custom
> > model-specific change_form. Write whatever you want to put inside that
> > sidebar block.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to