{"id":23583,"library":"django-naomi","title":"django-naomi","description":"Django email backend that captures outgoing emails and displays them in the browser for preview, instead of actually sending them. Current version 0.8, last updated in 2017, in maintenance mode.","status":"maintenance","version":"0.8","language":"python","source_language":"en","source_url":"https://github.com/edwinlunando/django-naomi","tags":["django","email","preview","testing","development"],"install":[{"cmd":"pip install django-naomi","lang":"bash","label":"default"}],"dependencies":[],"imports":[{"note":"Package name has hyphen, but the correct module is 'naomi'.","wrong":"from django_naomi import ...","symbol":"NaomiEmailBackend","correct":"from naomi.backend import NaomiEmailBackend"}],"quickstart":{"code":"# settings.py\nEMAIL_BACKEND = 'naomi.backend.NaomiEmailBackend'\n# No further configuration needed; emails are captured in memory and viewed via /__email__/ endpoint","lang":"python","description":"Set the email backend in Django settings to preview emails in the browser."},"warnings":[{"fix":"Use 'from naomi.backend import NaomiEmailBackend' or set EMAIL_BACKEND to 'naomi.backend.NaomiEmailBackend'.","message":"The import module is 'naomi', not 'django_naomi' or 'django-naomi'. The package name on PyPI uses hyphens, but the Python module is 'naomi'.","severity":"gotcha","affected_versions":"all"},{"fix":"Consider using django-mailer or django-email-bandit for more modern alternatives.","message":"This library is in maintenance mode; no updates since 2017. It may not work with Django 4.x+ without patches.","severity":"deprecated","affected_versions":"0.8"},{"fix":"Add path('__email__/', include('naomi.urls')) to your URLconf if automatic discovery fails.","message":"The preview URL defaults to '/__email__/' but may not be registered if URLconf is not configured. Check the docs for manual URL inclusion.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Change import to 'from naomi.backend import NaomiEmailBackend' or set EMAIL_BACKEND = 'naomi.backend.NaomiEmailBackend'.","cause":"Trying to import 'django_naomi' as the module name; correct module is 'naomi'.","error":"ModuleNotFoundError: No module named 'django_naomi'"},{"fix":"Ensure EMAIL_BACKEND = 'naomi.backend.NaomiEmailBackend' is a string.","cause":"Misconfigured EMAIL_BACKEND setting with wrong dotted path.","error":"AttributeError: 'str' object has no attribute 'backend'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}