You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps that's for another book but it would be very useful to have a sample and how to integrate Vue/Nuxts.js or Htmx with Django 3.2 o 4.0+
My undestanding is that Vue needs DRF in order to be integrated with Django even after setting up DRF for the first time and have a model api it is not clear to me how to put them together.
Regarding Htmx seem easy but still there is very little information about using it with Django.
What I'm trying to accomplish is something like this: In a Product Order where the user can add as many products as he wish from the product model. Once the user selects a product be able to set the price from the products model and let the price open to be changed by the user. If that is possible then I'd like to add a check that the price changed is not below the product cost which is also in the product model. Usually this would be in a formset or grid with product, quantity and price. Of course total price for the product order shall be calculated.
The text was updated successfully, but these errors were encountered:
Hi!
Description
Perhaps that's for another book but it would be very useful to have a sample and how to integrate Vue/Nuxts.js or Htmx with Django 3.2 o 4.0+
My undestanding is that Vue needs DRF in order to be integrated with Django even after setting up DRF for the first time and have a model api it is not clear to me how to put them together.
Regarding Htmx seem easy but still there is very little information about using it with Django.
What I'm trying to accomplish is something like this: In a Product Order where the user can add as many products as he wish from the product model. Once the user selects a product be able to set the price from the products model and let the price open to be changed by the user. If that is possible then I'd like to add a check that the price changed is not below the product cost which is also in the product model. Usually this would be in a formset or grid with product, quantity and price. Of course total price for the product order shall be calculated.
The text was updated successfully, but these errors were encountered: