Posts by Daniel Marques • 31 points
7 posts
-
-1
votes1
answer82
viewsQ: Errors when defining the edges of an N x N matrix? Index: list index out of range
I created a function that takes as a parameter an Nxn matrix, and initially prints the top edge of the matrix, but I keep getting the error "Indexerror: list index out of range", and this prevents…
-
0
votes1
answer302
viewsQ: List_display in Django/Python
sXDw.png My Models class is like this class Produto(models.Model): NomeRazao = models.CharField('Nome',max_length=50,unique=False,blank=False) CpfCnpj = models.IntegerField('Quantidade',blank=False)…
-
1
votes2
answers114
viewsQ: Error creating a simple Django table?
class Produtos(models.Model): #id = models.AutoField(primary_key=True) nomeproduto = models.CharField(max_length=50, blank=True, null=True) quantproduto = models.CharField(max_length=30,…
-
1
votes1
answer584
viewsQ: Creating Table/BD with Django?
I use python 3.4 and the latest version of Django, I am using the command "python Manage.py sqall" but does not recognize the sqall command. (I’m trying to create a table in Bd, and already insert…
-
0
votes1
answer345
viewsQ: Installing Django with Python3
I received a project to be done only with Python in v.3.4+ and I’m not getting Django to work in versions other than 2.7. Does anyone know a link that teaches the entire installation of Django in…
-
0
votes1
answer55
viewsQ: Errors in Django server validation?
I am putting the runserver Manage.py and gives these errors in the folder of the site packges. It has happened to you?…
-
0
votes0
answers50
viewsQ: Problem with Table Alignment
I’ve already reviewed the HTML several times, but I think there must be something wrong with my CSS. The positioning I used for the images was: /*Produtos*/ .fsResDir{ width:280px; height:280px;…