Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace load_class #1636

Closed
moshthepitt opened this issue Jun 18, 2019 · 0 comments · Fixed by #1639
Closed

Replace load_class #1636

moshthepitt opened this issue Jun 18, 2019 · 0 comments · Fixed by #1639

Comments

@moshthepitt
Copy link
Contributor

moshthepitt commented Jun 18, 2019

Django provides a import_string which does the same thing i.e.

from django.utils.module_loading import import_string

We should deprecate load_class (found in onadata/apps/api/tools.py) and use this instead.

Aha! Link: https://ona.aha.io/features/PROD-238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants