Proposes changes based on 366ff74619 and pull request #140 for Django 2.0 to pass CI tests.

This commit is contained in:
goetzb 2018-02-23 23:03:08 +00:00 committed by Brent O'Connor
parent 366ff74619
commit a8dc71bcb1

View file

@ -1,7 +1,7 @@
"""
These functions handle the adding of fields to other models
"""
from django.db.models import FieldDoesNotExist, ForeignKey, ManyToManyField
from django.db.models import FieldDoesNotExist, ForeignKey, ManyToManyField, CASCADE
from . import fields
# from settings import self._field_registry, self._model_registry
from django.utils.translation import ugettext_lazy as _