Questions tagged as 'django'

0
answers

Create a table in django's User models!

Well, I would like to create a column in the django models User table, because I would like to get the password before django transformed into sha256, because I want to display it in the unencrypted browser. Can you do that?     
asked by 13.11.2017 / 22:09
1
answer

Save the data in a polygonfield

Good evening, I'm implementing a project using django and I have the following model: class ModelExample(models.Model): city = models.CharField("Cidade", max_length=100, blank=True) state = models.CharField("Estado", max_length=2, b...
asked by 30.11.2017 / 22:59
0
answers

Django Rest Framework retrieves empty values instead of null when using Oracle DB

I'm using Django Rest Framework, so when I insert a field with null value [POST Model], it retrieves it with an empty value [Get Object Detail]. Why does it happen?     
asked by 21.11.2017 / 20:45
1
answer

How to select all the elements of a same Javascript id in Django

I have a table in Django where all the answers to a test are stored, but when I select them to compare with the response provided by the user, all the answers are the same as the first question. I know this has to do with getElementsById, which...
asked by 07.11.2017 / 14:41
1
answer

Problem with Celery and Django / Python

I am trying to implement a system of tasks with Celery in Django, but it is giving error and I do not know how to solve ... Error appearing on console: tasks.py from __future__ import absolute_import, unicode_literals from celery...
asked by 12.10.2017 / 19:52
1
answer

How to put html links / tags in models.TextField

Oops, people, everything with you? I have a description field and it is a TextField, how do I format a link in it? (leave it cute) I tried to put html tags but it does not. models.py: description = models.TextField() In Django admin:...
asked by 14.10.2017 / 01:04
0
answers

Sending email taking data FK Django

I have group and profile, in my register the person chooses the group and this group has the responsavel_id, I want to pick up and send a confirmation email to the person in charge of that group that the user chose models.py class Grupo(mod...
asked by 20.09.2017 / 14:47
1
answer

Django Tinymced

asked by 22.09.2017 / 14:22
1
answer

Get data in Django view

At the time of registering a new user, he chooses which group is part of a select. Each group has a responsible person, how do I get the email from this person to send an authorization request email? In this code I send email but to the email...
asked by 14.09.2017 / 15:27
1
answer

Session not identified in some logins in django

I'm doing a maintenance on a Django app version 1.5 with DRF 2.3. This app has non-standard Django user authentication, and that works well. See a summary below: accounts / views.py class Autentica(TemplateView): template_name = 'checkuser....
asked by 30.08.2017 / 18:53