Posts by Rodrigo Boniatti • 214 points
5 posts
-
2
votes2
answers2143
viewsQ: What is the difference between . save() and . update() in Django?
I’m having trouble understanding the difference between them, because I realized I was using the method. save() to change my values, but I noticed that there is . update().
djangoasked Rodrigo Boniatti 214 -
2
votes1
answer82
viewsQ: Remove Session Data Dictionary with ajax in Django
I have an array with a data dictionary in my Session and would like to remove according to the row the user is going to click on a table where these values are displayed. My view: def…
-
2
votes1
answer163
viewsQ: How to register a data matrix in Django
I have an array of data in my Storage Session related to products from a store, and would like to register a sale as soon as the user registers all their products and click Finish Sale. This matrix…
-
1
votes2
answers1357
viewsA: (Django) How to implement a button in the template that triggers any method?
I understand you want to do this in Django. Well, if in your case you want to register and after the registration display the message, my tip would be this: And at the end of your view registration…
-
2
votes1
answer84
viewsA: Font changing from Weight
You must use font-weight: 300 if you want to have the light font. Try this too, to make your fonts more readable: body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }…