Posts by Giovane Machado • 371 points
21 posts
-
1
votes2
answers510
viewsA: Display the value of a Manytomany Django object in the template?
Come on, I got a solution. First of all, the screening I was trying wasn’t pleasant, so I changed things. Instead of releasing everything in this table, I made a link in the name of each product,…
djangoanswered Giovane Machado 371 -
4
votes2
answers987
viewsQ: How to use one Model Class values in another in Django?
Talk guys, I haven’t found a north or how to research on, so I’m going to go to the O.R.. I have the following in my models.py, Ingredient and Product: class Ingrediente(models.Model): produtor =…
-
0
votes2
answers510
viewsQ: Display the value of a Manytomany Django object in the template?
Hey, sorry for the confusing question (I don’t know exactly how to ask this), but come on. I’m wearing Django2.1. I have these 2 models related so ManyToMany: class Ingrediente(models.Model):…
djangoasked Giovane Machado 371 -
0
votes2
answers764
viewsQ: How to align icons with text on the side of Bootstrap 4?
So, I would like to know how I can align the icons with the texts, in this case, the text right in the direction of the center of the icon. I tried it like this, and with some other Bootstrap…
-
3
votes1
answer81
viewsQ: How to run a Javascript Hide from one side of the page to the other:
Sorry for the confusing question, I’ll try to explain it better: I’m making a website, and I’ve used pages that take up the entire screen, and center the content, one below the other. There is also…
-
0
votes1
answer24
viewsQ: How to differentiate clones to color certain parts of SVG
Following my series of issues to resolve this, I would like a tip on how to differentiate these clones that are generated as I would like to paint only one slice at a time. The idea is to click on a…
-
1
votes1
answer36
viewsQ: Make multiple Svgs converge to the same point with CSS
Good people, I was wondering if I could get this shape, which looks like a piece of pizza, to form a circle. The idea would be to clone it 10 times and form the complete circle.…
-
2
votes1
answer51
viewsQ: Keep clicked part of an SVG using CSS
I would like the following: Click on one of the segments, and it gets painted. My idea was to use only CSS, so I was wondering if there’s anything like hover to do it for me. My SVG is as follows:…
-
1
votes1
answer165
viewsA: Toggle bootstrap menu is not expanding
For the record, the d-none was the problem. It works perfectly as follows (removing it): <nav class="navbar navbar-expand-sm shadow p-4 navbar-dark"> <a href="#"…
-
0
votes1
answer165
viewsQ: Toggle bootstrap menu is not expanding
My menu with toggle-icon, being used exactly like that of the bootstrap4 example documentation simply does not expand. I tried that solution but nothing has changed. Currently the code is like this:…
-
1
votes1
answer39
viewsQ: Incompatible types when trying to start a class with the "switch" value of another Java
I got the following: public class Bullet { public enum Direcao { UP,DOWN,LEFT,RIGHT }; // Posição do tiro em pixels. private int x,y; // Direção do tiro. private Direcao direção; // Este tiro está…
-
1
votes1
answer242
viewsA: How do I remove the space between one line and another of cards in Bootstrap4?
I ended up discovering it myself, I’ll leave it on record. I hope it’s useful. The answer is in the documentation, in the section that talks about the Cards. It works in a similar way to the masonry…
-
0
votes1
answer242
viewsQ: How do I remove the space between one line and another of cards in Bootstrap4?
Good night. I’m using Bootstrap4 in my Django project, but as in the following print, there’s a gap between cards (marked with an x) because of their different size. I would like the images below to…
-
1
votes1
answer378
viewsA: How to use Kivy Recycleview in the KV language and with Screenmanager?
Just to close the question and leave as help in case anyone needs, I will put here the solution I was able to post to question in English. The good feitor suggested me to add Recycleview as a child…
python-kivyanswered Giovane Machado 371 -
1
votes1
answer378
viewsQ: How to use Kivy Recycleview in the KV language and with Screenmanager?
I’m using Kivy for an app. I have a database in Google Firebase working well, I can save there quietly. I would like to return this data to my app, but before I have problems with it, I can’t list…
python-kivyasked Giovane Machado 371 -
0
votes2
answers1368
viewsQ: Is it a good idea to use JSON as a database?
I’m doing a mobile app project. Using Python and Kivy. My project has three main classes to save in a database (it’s a ticket selling app): Tickets, Events and Users. Searching, I saw that JSON is…
-
0
votes2
answers374
viewsQ: git hub ! [Rejected] - I can’t find the files for github
I’m trying to send my code to the Github, but I can’t. Follow a tutorial, so I’m in the right folder and stuff. I made a git add all, gave commit in everything, the git status appears in the "print"…
-
0
votes2
answers170
viewsQ: Switch only enters "default"
When I read a number, converting it to Int32, my switch simply understands that it is a default and makes the code there described. static void Main(string[] args) { Jogador j = new Jogador();…
-
6
votes1
answer2779
viewsQ: What is Initial Commit?
I’m learning to use Git, and I wanted to understand what this initial commit line looks like in the video class I’m seeing but it’s different in my environment. I want to understand what it’s for…
gitasked Giovane Machado 371 -
2
votes1
answer170
viewsQ: Why unmark the main class creation when we work with canvas?
So far, in all tutorials I’ve seen, when we’re going to work with a swing screen, we’re asked to clear the main class creation. I would like to know the science behind it, and what results if I…
-
3
votes1
answer2462
viewsQ: Put multiple classes in the same file
In my project I have the class main and created new Java class files with Netbeans to define the objects there. I can only use in main one of the classes, the others I can’t even call the methods.…