I am attempting to use this snippet: http://www.djangosnippets.org/snippets/1095/ on a model I am building- I am defining things as:
first = models.TextField()
last = models.TextField()
email = models.EmailField(default=None)
screen = models.TextField()
password = models.EncryptedCharField()
icon = models.ImageField(upload_to='avatars/')
When I attempt to validate the model (running syncdb) it gives me an error that states that the "EncryptedCharField" is not defined.
I have the code from that snippet present in my model.py file- is this incorrect? do i need to implement this snippet elsewhere, or have it extend a different class?