1๐
โ
If what you mean by 107 variables is that there are 107 rows in the database, you can open the Django shell with:
$ python manage.py shell
and from the Python shell import your database model:
>>> from myapp.models import MyModel
and run whatever you want on it:
>>> for o in MyModel.objects.all:
... o.nombre_contacto_15 = o.nombre_contacto_15.upper()
... o.save()
...
>>>
๐คlvella
Source:stackexchange.com