Posts by Sara Fernandes • 317 points
12 posts
-
2
votes1
answer1063
viewsQ: Form for Foreignkey Relationship
is the following created 3 models, one is the Person, another is the aggressor and the other is Life . Being that Aggressor inherits from person (I have already done the inheritance). And the class…
djangoasked Sara Fernandes 317 -
1
votes2
answers361
viewsQ: How to differentiate variable (inputs) in the same Django form
good morning! I have the following question: I have a class Person, of which I can have 3 types of person (Victim, Aggressor and Witness) in the same form... as I would set the variables so that…
djangoasked Sara Fernandes 317 -
2
votes1
answer97
viewsQ: Django Debug Toolbar
good evening!! Can anyone help me with this error, I am trying to use debug_toolbar: Traceback (most recent call last): File "./manage.py", line 10, in <module>…
djangoasked Sara Fernandes 317 -
0
votes2
answers1451
viewsQ: How to show Radio Button type fields in the form using Django?
I created a file called const.py (where I have the options of Choices that I will call in the models) as follows:: const. FORENSIC_TRAFFIC_LIGHTING = ( (u'1', u'Boa'), (u'2', u'Ruim'), (u'3',…
-
7
votes2
answers772
viewsQ: Django and Template
Good night! Guys, I’ve been in trouble for four days and unfortunately I haven’t been able to fix it yet! I’m working with tamplates in Django, but I’m having problems, because nothing appears in…
-
1
votes1
answer797
viewsQ: Add event (action) when switching tab
I have a Tabpane in my project that contains 3 different tabs, I would like to know how to add an event when changing "tab" in Javafx. For example, by clicking on the "address" tab, create an event…
-
1
votes2
answers194
viewsQ: Function only returns zero
Good afternoon!! I would like your help in the following question: I have the following function that returns me as a result 0 only: public double calorEspecifico(){ double cp; cp = (fruto.getCp1()…
-
1
votes0
answers375
viewsQ: Templates base.html in Django
good morning!! I’m working with Django Templates. It turns out that I created a base.html template that will fit all the other html forms.I have an index.html that extends this beauty tamplate, but…
-
1
votes1
answer539
viewsA: Page Redirect Error -URL
doing some research I managed to solve this problem in another way. But I thank you for your help! See below how it was: py. from django.conf.urls import patterns,include, url from django.contrib…
djangoanswered Sara Fernandes 317 -
1
votes1
answer539
viewsQ: Page Redirect Error -URL
I’m super beginner with Python and Django and unfortunately I’m suffering a lot with urls. The problem is that "Página não encontrada (404)". Below are excerpts of the code: py. from…
djangoasked Sara Fernandes 317 -
1
votes1
answer77
viewsQ: Calculate When Selecting Option In Enum Class
Good Afternoon!!... I have the following question... I have an Enum class and in it within each "option" I perform a calculation when selecting... How would make that calculation run and so, I have…
javafxasked Sara Fernandes 317 -
1
votes1
answer150
viewsQ: Combobox values do not appear for selection
I would like the help of you on the following question!! I have a combobox and want to fill it with whole numbers. It happens that when I run the program nothing appears for me to select!... Follow…
javafxasked Sara Fernandes 317