samluescher / django-form-designer

A Django admin app with a GUI to create complex forms without any programming skills; complete with logging, validation, and redirects.
BSD 3-Clause "New" or "Revised" License
316 stars 149 forks source link

Use late-bound foreign key for User to avoid circular import. #84

Closed akx closed 8 years ago

akx commented 10 years ago

Instead of using User/get_user_model directly, use a late-bound foreign key to avoid weird circular import loops.

See https://bitbucket.org/ubernostrum/django-registration/pull-request/54/including-django-15s-get_user_model-at-the/diff and friends.