marcosgabarda / django-snitch Goto Github PK View Code? Open in Web Editor NEW 20.0 20.0 6.0 394 KB Django app made to integrate generic events that create notifications that can be sent to users using several backends. Home Page: https://django-snitch.readthedocs.io License: MIT License Python 99.40% HTML 0.44% Makefile 0.16% Introduction ยท People ยท Discuss
for demo please can you give me a demo of this django snitch or the link of youtube video tutorial with email or websocket app ? i want to use it but i don't understand how to use it .
Subject casting to str from gettext_lazy should be done in send The casting to str in this line: https://github.com/marcosgabarda/django-snitch/blob/master/snitch/emails.py#L50 makes really difficult to extend translation behavior when sending an email. IMO this casting should be done in the sending method and after activating the translation, so that line in the __init__ should be: self.subject = self.default_subject if subject is None else subject Notice the lack of %s. This way the translation is not forced until later on, when its actually needed. And then do the casting to str here: https://github.com/marcosgabarda/django-snitch/blob/master/snitch/emails.py#L112
`TemplateEmailMessage` bcc and cc parameters initiation TemplateEmailMessage bcc and cc parameters are initiated as [None] by default, which leads to incompatibilities with some providers.
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.