Django 17 cleanup