Hello everyone.

I'm new to django community and I'm not sure what should I do to what I 
found. So I decide to post it here.

I would be very appreciated if someone could tell me whether it is still an 
issue or it has been fixed. And what should I do next.

After I update my django from 1.10 to 1.11, I found the password displaying 
in admin site became like this:

<https://lh3.googleusercontent.com/-6b2Xv9sDDOU/WPe9QvFFs9I/AAAAAAAAAFM/aX12CoOF17ArKAav3fxrI1j45uY5VEDEwCLcB/s1600/TIM%25E6%2588%25AA%25E5%259B%25BE20170420034030.png>
The entries of encrypt information get into a mess!

So I look into django's package and 
found \django\contrib\auth\templates\auth\widgets\read_only_password_hash.html

The code in it is:

{% for entry in summary %}
> <div{% include 'django/forms/widgets/attrs.html' %}><strong>{{ entry.label 
> }}</strong>{% if entry.value %}: {{ entry.value }}{% endif %}
> {% endfor %}


Refer to the old looking, I edit the code into:

<div{% include 'django/forms/widgets/attrs.html' %}>
> {% for entry in summary %}<strong>{{ entry.label }}</strong>{% if 
> entry.value %}: {{ entry.value }}{% endif %} {% endfor %}
> </div>


It worked! The password displaying in admin site looks just like old 
version.

<https://lh3.googleusercontent.com/-giRVrUilJP0/WPe_ueEiB_I/AAAAAAAAAFc/lY5mJyvLYqQ-X_qzEDkTMS9l8bzY19L6QCLcB/s1600/TIM%25E6%2588%25AA%25E5%259B%25BE20170420034921.png>


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ba0c395a-9b74-4468-af83-4bd7e7939d3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to