Posts by Ronald Rodrigues • 103 points
6 posts
-
0
votes1
answer73
viewsA: Set the site favicon (Flask)
You must put the tag in your html to define it, if your icon is served as a static file by Flask, inside the tag <head> would be more or less the following: <link rel="shortcut icon"…
-
1
votes3
answers703
viewsA: How to leave the program open in python
To do this just takes one input emptiness # insira-o no final do seu código input('Aperte qualquer tecla para fechar o programa...') ;)
-
1
votes1
answer83
viewsQ: Assertionerror: b' Working with test classes in Django (TDD)
I’m starting my test studies with Django and I’m getting an error where apparently it shouldn’t, so much so that the description of traceback leaves me quite confused. I have a class that tests…
-
2
votes1
answer467
viewsA: Django and Oracle database (accessing your views via ORM)
I would like to openly thank Jefferson Quesado for sharing a link with the ideal logic, having just had to adapt to my development environment. Really, DataBase Views are common database tables,…
-
2
votes1
answer467
viewsQ: Django and Oracle database (accessing your views via ORM)
Hello, despite the title self explanatory. I will detail my doubt to follow. I have a pre-existing Oracle database, integrated it with Django by configuring the default connection in Settings and…
-
1
votes1
answer729
viewsA: Pygame - How to solve the image’s phantom effect
Hello. This "error" occurs because there is no screen update at the end of your main loop: while sair != True, where the pygame manages the events of your game. Remember that each loop iteration…