Bearle/django_mail_admin

Dependencies not installed

Closed this issue · 1 comments

  • django mail admin version: 0.1.4
  • Django version: 2.2
  • Python version: 3.8
  • Operating System: Archlinux

Description

After installation, jsonfield is not installed because in the script setup.py, install_requires is empty.
https://github.com/Bearle/django_mail_admin/blob/master/setup.py#L59
The content of the requirements.txt must be in this field as a list of dependency.

What I Did

I installed the package pip install django_mail_admin==0.1.4.
Then I added it to the INSTALLED_APPS and ran the development server.

File "/home/user/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 357, in execute
    django.setup()
  File "/home/user/venv/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/user/venv/lib/python3.8/site-packages/django/apps/registry.py", line 114, in populate
    app_config.import_models()
  File "/home/user/venv/lib/python3.8/site-packages/django/apps/config.py", line 211, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/user/venv/lib/python3.8/site-packages/django_mail_admin/models/__init__.py", line 2, in <module>
    from .outgoing import *
  File "/home/user/venv/lib/python3.8/site-packages/django_mail_admin/models/outgoing.py", line 9, in <module>
    from jsonfield import JSONField
ModuleNotFoundError: No module named 'jsonfield'

Fixed in 0.2.0