Posts by cokakola • 52 points
6 posts
-
0
votes2
answers452
viewsA: How to get a template that’s in another app on Django
Hello, Maurício! I recommend you take a look at template heritage: https://docs.djangoproject.com/en/2.2/ref/templates/language/#template-inheritance I believe it is easy to understand. As you have…
-
1
votes1
answer593
viewsQ: Pass view arguments to Django form
Hello, good night! I’m doing a question and answer application on Jango and I have basically these models: Multiple choice app: class MCQuestao(Questao): def checar_correta(self, ans): answer =…
-
0
votes1
answer130
viewsQ: Insert Alternatives into a Model in Django
Good evening. I’m a beginner in Django, I’m trying to make a simple platform, kind of a quiz and I’m having a question. I have the following class: class Questao(models.Model): subdominio =…
-
0
votes1
answer70
viewsQ: Relational Model of a Bank
The question is this, I have the following situation: On the right side I have the mathematical knowledge - MK and on the other side Conhec. Didactic - PCK, let’s call them Domain, and in each of…
-
1
votes0
answers83
viewsQ: Intermediate Code Generation - Recursion in Verification
Good afternoon, guys. I’m at a stage in the matter of compilers which is the intermediate code generation of my grammar. After the steps of lexical, syntactic, semantic analysis. Basically I have…
-
1
votes1
answer718
viewsQ: Implementation of a Lexical Analyzer
Hello, guys! I’m implementing a lexical parser for a grammar I created (using Gals). Grammar validation was performed using the concept of finite automata, according to the image: At the moment I…