refactorying to suit my taste
revert part of commit associated to __init__
fixed imports
django-select2 5.0.0-3.3.2
typo for javascript type