kidig / django-mailjet

A Django email backend for use with Mailjet (un-official project)
MIT License
16 stars 13 forks source link

django-mailjet with allauth #11

Open lorddaedra opened 7 years ago

lorddaedra commented 7 years ago

I use allauth for user registration, login, etc...

It all works with SMTP Mail Jet settings but after I install django-mailjet (do not matter, with custom or latest mailjet_rest, after sending sign up form, dev server stop.

➜  webpanel git:(feature/34-Mailjet) ✗ docker-compose up web
webpanel_db_1 is up-to-date
Recreating webpanel_web_1 ...
Recreating webpanel_web_1 ... done
Attaching to webpanel_web_1
web_1  | ng system checks...
web_1  |
web_1  | System check identified no issues (0 silenced).
web_1  | June 11, 2017 - 16:09:32
web_1  | Django version 1.11.2, using settings 'webpanel.settings'
web_1  | Starting development server at http://0.0.0.0:8000/
web_1  | Quit the server with CONTROL-C.
web_1  | [11/Jun/2017 16:09:47] "GET /accounts/signup/ HTTP/1.1" 200 14966
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/vendor/bootstrap-datepicker/css/bootstrap-datepicker3.css HTTP/1.1" 200 23495
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/vendor/magnific-popup/magnific-popup.css HTTP/1.1" 200 7302
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146010
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/stylesheets/skins/default.css HTTP/1.1" 200 29928
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/stylesheets/theme.css HTTP/1.1" 200 409524
web_1  | [11/Jun/2017 16:09:47] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 200 20322
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/stylesheets/theme-custom.css HTTP/1.1" 200 43
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/vendor/modernizr/modernizr.js HTTP/1.1" 200 19051
web_1  | [11/Jun/2017 16:09:47] "GET /static/pa/assets/vendor/jquery/jquery.js HTTP/1.1" 200 267194
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js HTTP/1.1" 200 2129
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/bootstrap/js/bootstrap.js HTTP/1.1" 200 69707
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/nanoscroller/nanoscroller.js HTTP/1.1" 200 10394
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js HTTP/1.1" 200 60797
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/magnific-popup/jquery.magnific-popup.js HTTP/1.1" 200 43589
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/jquery-placeholder/jquery-placeholder.js HTTP/1.1" 200 9724
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/images/logo.png HTTP/1.1" 200 6696
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/javascripts/theme.js HTTP/1.1" 200 112659
web_1  | [11/Jun/2017 16:09:48] "GET /static/debug_toolbar/js/jquery_pre.js HTTP/1.1" 200 136
web_1  | [11/Jun/2017 16:09:48] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 200 12552
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 200 389287
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/javascripts/theme.custom.js HTTP/1.1" 200 41
web_1  | [11/Jun/2017 16:09:48] "GET /static/debug_toolbar/js/jquery_post.js HTTP/1.1" 200 118
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/javascripts/theme.init.js HTTP/1.1" 200 12419
web_1  | [11/Jun/2017 16:09:48] "GET /static/pa/assets/vendor/bootstrap-datepicker/css/bootstrap-datepicker3.css.map HTTP/1.1" 200 23719
web_1  | [11/Jun/2017 16:09:49] "GET /static/debug_toolbar/img/ajax-loader.gif HTTP/1.1" 200 404
web_1  | [11/Jun/2017 16:09:49] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 200 29
web_1  | [11/Jun/2017 16:09:49] "GET /static/pa/assets/vendor/nanoscroller/jquery.nanoscroller.min.js.map HTTP/1.1" 200 34751
webpanel_web_1 exited with code 0
➜  webpanel git:(feature/34-Mailjet) ✗
lorddaedra commented 7 years ago

https://github.com/pennersr/django-allauth/blob/master/allauth/account/adapter.py#L142

lorddaedra commented 7 years ago

I've got this strange error with https://github.com/CodeYellowBV/django-anymail/tree/feature_mailjet-0.10 too. (Alternative Mail Jet backend implementation). May be it relates with allauth or/and Docker...