Posts by wallacesilva09 • 50 points
7 posts
-
0
votes1
answer64
viewsA: How to add values from one model and insert the result into another using Django?
Maybe create a Property in the Sell model forever calculate this for you. Something like below: class Venda(models.Model): # ... @property def valor_total(): servicos = self.servicos.all() # aplicar…
-
0
votes1
answer165
viewsA: Problem when I try to save data in Mysql database on Android
So my big, about the error, seems to be a dependency thing, check if called and configured all dependencies, if you are using Android Studio it will already inform you about, otherwise check the…
androidanswered wallacesilva09 50 -
0
votes2
answers129
viewsA: How to create a text file with the client’s IP
It seems to have already had your answer, I use a function similar to that of Christian, very good, you can use the getenv that picks up for you by default. I wanted to take this opportunity to make…
phpanswered wallacesilva09 50 -
0
votes2
answers170
viewsA: Java Script Animation
You seem to be wanting to do a horizontal scroll, I believe the path you followed came close. But I’d like to point out a few things that might be your problem. Basic mathematics, any number…
-
2
votes2
answers52
viewsA: Problem when printing fields
Some fields do not have the respective col-Sm-*evaluate their layout and add correctly. For example in Description seems to be missing his class. In other html items there are some possible errors…
-
-2
votes2
answers2526
viewsA: What is [QSA] and similar for in Rewriterule?
Although the mdma have responded very well. I would add that it is widely used in frameworks mainly in PHP to prevent the loss of the Query String and still manage to continue working with friendly…
-
1
votes1
answer321
viewsA: Problems with SLIM paging with Pager
Try setting the "currentPage" on params: 'currentPage' => $pg, It must be giving conflict with the way the slim takes the data. When in doubt see the Complete list of parameters Voce can set.…