Hi

I have one question reguarding design of an app.
I have one model that has about 10 fields and 3 relations (foreign
key) and i need to make one "Add new" and "Edit" form of it.
My question reguards those relations in the model. How would you
realize a search functionality for those related
model-fields? Selecting the right relation involves a new search form,
as there are 100's of entries one should filter first
before selecting the right on.

Till now i thought of opening a new js window that includes the search
form, and on completition of that search i would set the
result in one hidden field in the parent window.

An other approach would be to have one "Search button" inside the
form, which redirects to one new search form
(in the same window). But then i would have to save the data allready
entered in the form inside my session,
or is there some possibility to pass the whole form from one view to
another? That would be best.


PS: the search functionality will be reused in many other forms...

Any hints would be very welcome :)

_thanks rene
--~--~---------~--~----~------------~-------~--~----~
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