1👍
It is actually in django.utils.translation
instead of django.utils.translation.trans_real
. (eg. pypugjs needs to be updated)
- Django – Exclude superuser from LDAP auth
- Django Migrate Fails due to Type Conflict
- Getting error as "TypeError at /add_follow/1/ __init__() takes 1 positional argument but 2 were given"
Source:stackexchange.com