I have the following html code and what I need is for tb_header1 to increase the values of i , j en 1, and rangos go incrementing 1 the value of a (in each for ).
{% for atributo in tb_header %}
<td...
I am trying to upload multiple images in a django form. So far you get to the point of getting this error InMemoryUploadedFile' object has no attribute 'get' indicating that the problem is in line imgform.save() of the view.
Thi...
I'm using django-cassandra-engine for session storage, when I start the server I get this error:
RuntimeError: Model class django.contrib.sessions.models.Session doesn't declare an explicit app_label and isn't in an application in INSTALLED_AP...
When moving my WordPress blog to Django I changed the structure of the permanent links, before I did not use category in the structure and now yes. More or less like this:
/slug/ ⟼ /cat/slug/
And then I'm getting a lot of 404 errors,...
Very good, I would like to know how to modify my select with a modified query, I make myself explain ...
models.py
class Equipo(models.Model):
nombre = models.CharField(max_length=200)
color = RGBColorField()
torneo = models.For...
I need to make a registration using python-social-auth and Django, which uses Facebook data to pre-fill some fields of the user creation form.
Does anyone know how to do it?
I'm trying to execute the command in windows:
pip install mysql-python
to be able to work with mysql in Django
but I get these errors:
c:\users\fabia\appdata\local\programs\python\python35-32\include\pyconfig.h(243): fatal error C1083:...
Good evening I am doing my App in Django and I am needing to create an audit log where I can register if they created / modified / deleted a record, which user did it and date of registration.
I'm grabbing suggestions to implement this functi...
I am trying to save elements that I parsed from a csv file in the database and at the time of splitting those elements I get an error unsupported operand type (s) for +: 'NoneType' and 'NoneType'and I do not know what do.
def Procesar(request,...
I'm getting into the world of Django and I was trying to generate different types of models. Now I am creating a model with a class 'Tags' which has a key that calls another object of the class (To create objects linked by relationship)....