Hi list,

I'm currently cooking up a widget. It's kind of, sort of, the opposite
of an edit_inline. When you edit something that is referenced via
ForeignKeys, the inline editor is great, but what if you want to do it
the other way around? Well, that's what my widget is about, anyway.

So far, I've made a MultiWidget that includes an arbitrary number of
TextInputs under it, these are of course TextInputs that reference my
ForeignKey. After some hackery, that's all great and fine, but now the
problem rises: How to save this on submit? I've dug around in the guts
and come to the conclusion that I'm doing something that Should Not Be
Done (tm), but if one *were* to do this, how would one go about it?
I've exhausted my creativity. To clarify, I'm trying to update several
fields in one go, so I cannot use compress/decompress (as that only
uses a single field, right?)

Any input appreciated,


Jesper
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to