Giter VIP home page Giter VIP logo

django-mail-panel's People

Contributors

adamb70 avatar benspaulding avatar ciotto avatar dependabot[bot] avatar hugotacito avatar indrif avatar jensenbox avatar nikicat avatar nschlemm avatar scuml avatar shawnmilo avatar smileychris avatar wkleinheerenbrink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-mail-panel's Issues

Does not function in DJDT v3.1

This plugin fails for Django Debug Toolbar v3.1. Window opens, but the message list is no longer clickable and the content area never displays. I can confirm it is working in 2.2 for us.

I followed the install steps and it didn't work

I am not sure what I was doing wrong, I don't care enough about installing this to investigate, but I followed the install steps and it wasn't catching mail, so I switched back to using mailcatcher which is working (A ruby thing that you run and listens on a port and serves its own web ui).

I had EMAIL_* settings left over from when I was using mailcatcher โ€“ I removed those to see if that helped but still no dice, I would just get a panel that says no mail.

I just thought you should know, somehow mail was not being caught and I was sending regular Django EmailMultiAlternatives on Django 1.11.18. I didn't notice the collectstatic step first attempt, ran that, no difference.

I'll close this issue now so it doesn't kick around, I'm not going to investigate further because I'm a jerk / busy, but this didn't work for me, all the best with fixing it if you have any idea what was wrong from my vague description ๐Ÿ˜ฌ๏ธ

Support for Python3

After trying to add this package to one of my projects, I've got this error:

File ".../site-packages/mail_panel/backend.py", line 27, in send_messages
    message.id = uuid4().get_hex()
AttributeError: 'UUID' object has no attribute 'get_hex'

It seems this package doesn't yet support python3. Is there any plan to make it compatible in the foreseeable future?

'EmailMessage' object has no attribute 'alternatives'

Django Version: 3.2.11
django-mail-panel==3.2.6
django-debug-toolbar==3.2.4

Exception Value: 'EmailMessage' object has no attribute 'alternatives'

I am using the django-tempalted-email 3.0.0 package to send an email:

send_templated_mail(...)

I attempted to fix it with:

    try:
        alternatives = message.alternatives
    except AttributeError:
        alternatives = None

    super(MailToolbarBackendEmail, self).__init__(
        subject=message.subject,
        to=message.to,
        cc=message.cc,
        bcc=message.bcc,
        reply_to=message.reply_to,
        from_email=message.from_email,
        body=message.body,
        alternatives=alternatives,
        headers=message.extra_headers,
    )

Django 4.0 Incompatibility

There could be more instances of the use of the deprecated modules but this is the first I found:

dev                |   File "/usr/local/lib/python3.9/site-packages/mail_panel/panels.py", line 1, in <module>
dev                |     from django.utils.translation import ugettext_lazy as _
dev                | ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/usr/local/lib/python3.9/site-packages/django/utils/translation/__init__.py)

This comes from this: https://docs.djangoproject.com/en/4.0/releases/4.0/#features-removed-in-4-0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.