Posts by Pablo • 220 points
5 posts
-
0
votes2
answers62
viewsA: How to generate auto increment field, in Django models, that is not PK, and that depends on information from another field that is FK?
The field with this numbering cannot be PK or FK because it repeats. But if you want to use an auxiliary field to store this numbering ok. Assuming the field is called "numbering", the simplest and…
-
0
votes3
answers174
viewsA: Deactivate Pycharm autocomplete
Turn off "Show suggestions as you type", it will stop displaying suggestions automatically. Even with this option off you can still use Ctrl+Space to see the suggestions if you want.…
-
1
votes1
answer92
viewsA: Where to place mathematical models in Django
I adopt the practice of putting in the models the methods that depend on some kind of interaction with Django and with the database, there are queries and preparation of parameters. The…
-
1
votes1
answer199
viewsA: Loop for Javascript internal variable scope problem
The "answer" function is inside a loop, every loop iteration the function is recreated and cannot be accessed outside the loop. You can put her out of the loop. Going deeper, the "answer" function…
-
7
votes2
answers4380
viewsA: Linux C programming - IDE vs. editor + command line
Maniero’s response is excellent in my opinion. The question is in fact subjective and as it is open put this answer to add my two cents regarding the use of Ides vs Text Editor to start in C. I am…