Tuesday, February 23, 2021

Re: AttributeError: 'NoneType' object has no attribute 'replace'

On 23/02/2021 17.56, Abnilson Rafael wrote:
> Hi,
> I'm getting error above when I try to this program:

The get_language() member function/method of your "translation"
object/variable doesn't return anything and you most likely expect it to
return a string.

Try to figure out how that could happen and you'll most likely have the
solution.

Hard to help you any further without knowing anything about what you are
trying to achieve.

Kind regards,

Kasper Laudrup

--
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b8f083f9-5640-c8d0-7043-88a7a646ce85%40stacktrace.dk.

No comments:

Post a Comment