I am building a web app that allows our field staff to create appointments. This involves creating a record that contains many foreign keys, of which some come from very large tables. For example, the staff will need to select one of potentially thousands of customers.
What's the best way of doing this in Django?
- A pop-up box that allows the users to search for customers, gives them the results, the user selects the results, then fills out the main appointment form and then disappears?
- Changing the appointments form to a customer selection page that then reloads the appointments page with the data in a hidden form? Or holding the data in some session variables?
- Some from of Ajax approach.
- A wizard where the flow is: a customer search page, a list of results and they select from results, then a search page for the next option (for example product selection), etc etc
(I'd like to keep it as simple as possible. This is my first Django project and my first web project for more years than I care to remember)
ALJ