cfp-field This is a test implementatipon of the CPF Validation as part of the "Mão na Massa" proposal of the 4th module of Welcome to the Django training (http://welcometothedjango.com.br/).
pip install django-cpffield
Add "cpffield" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'cpffield',
]
from django.db import models
from cpffield import cpffield
class MyModel(models.Model):
cpf = cpffield.CPFField('CPF', max_length=14)