Django: Modifying Data With User Input Through Custom Template Tag?
Is it possible to modify data through custom template tag in Django? More specifically, I have a model named Shift whose data I want to display in a calendar form. I figured using
Solution 1:
This type of logic does not belong in a template tag. It belongs in a view that will respond to AJAX requests and return a JSONResponse. You'll need some javascript to handle making the request based on the input as well.
Post a Comment for "Django: Modifying Data With User Input Through Custom Template Tag?"