I'm starting my studies with Python and Django. After creating several simple CRUDS, I tried to create a more complex form using several classes, but I was not successful.
I want to create a screen for typing orders with the customer information (the customer can be registered along with the order), a list with the sellers and add the products. To add the products I think about creating a modal window that queries the products or a field with autocomplete in the form itself with an add button.
Questions:
-
Is it a good practice to create manual forms and persist the data manually?
-
What is the best way to create a form that has information from various templates (Order, OrderPrice, Product and Vendor)?
I'm using Python 3.5, Django 1.10 on Linux.
Thanks in advance for the help.