diff --git a/citext/fields.py b/citext/fields.py index b1f3ef1..f82be58 100644 --- a/citext/fields.py +++ b/citext/fields.py @@ -35,6 +35,3 @@ class CITextField(CIText, models.TextField): field.register_lookup(lookup) field.register_lookup(lookups.IsNull) - - -from . import baker_generators # noqa diff --git a/tests/testapp/apps.py b/tests/testapp/apps.py new file mode 100644 index 0000000..d5caa74 --- /dev/null +++ b/tests/testapp/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + + +class TestAppConfig(AppConfig): + name = "tests.testapp" + + def ready(self): + from citext import baker_generators # noqa