Posts by Douglas Cerqueira • 51 points
4 posts
-
1
votes3
answers328
viewsQ: SQL - Query in a single table with null values
Hello, I need to make a date-filtered query. The problem is that non-existent dates in the table need to be returned by the query, having all other fields as Null. SELECT Data, Servico FROM…
-
0
votes3
answers430
viewsA: Problem when importing model
It was taking place an import loop, they were caring for each other. Solved, I just removed the import of one of the files and it worked.
-
0
votes3
answers430
viewsQ: Problem when importing model
Hello, I’m not getting the import of this model have the model: class Contrato(models.Model): within models.py and inside my serializers.py need to do import from models import Contrato nor from…
-
4
votes0
answers462
viewsQ: Django Session timer Countdown
I have it on my login screen: SESSION_COOKIE_AGE = 1200 # 20 minutos and would like to show the remaining time on my template. Someone knows a good middleware or package for Django that adds a time…