'Django tables-import error
i am having an import error django_tables. Could not import ikapp.views.admin. Error was: No module named django_tables.
Solution 1:[1]
It looks like ikapp.views.admin requires django-tables. Unfortunately it's not possible to tell which version/fork it requires, but it's likely to be either:
Solution 2:[2]
django_tables requires that you actually be running within the django-"primed" python environment. You can access this by going to your project's directory and typing
python manage.py shell
Then you can import django_tables with no problems. For further info, take a look at the following: https://docs.djangoproject.com/en/dev/ref/django-admin/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | Glorfindel |
