IBANField is an extension for django CharField with special validation for IBAN accounts.
You can install django-randomfield with pip as usual o pipenv
$> pip install django-randomfield
$> pipenv install django-randomfield
Use IBANField on your models, like any other django models fields.
from django_randomfield.fields import CharRandomField
class MyModel(models.Model):
account = CharRandomField()