How to Solve NameError: name 'LANGUAGE_CHOICES' is not defined -- snippets

Solution: Import the 'LANGUAGE_CHOICES' module

To Solve the error, add the following line to the top of your code.

from snippets import LANGUAGE_CHOICES

 

For more information:
Python snippets LANGUAGE_CHOICES