Release of Colibri 1.0-beta2

Time flies, and I haven’t made any release of Colibri for a long time, despite it being used in production and bug being fixed as they are found. So here it is. No shiny new feature there, it’s mostly about bug fixing, code cleaning and updating the code. More importantly:

If you update from 1.0-beta1 or previous, you will need to migrate the database. Here is what need to be done

Yes, I know about south or other Django migration tools. I do even use south on other Django projects. But I didn’t feel like it was necessary to add the dependency just for this.

 

As usual, you can get the code from the mercurial repository or from the File tab in the labs.


 Post details 

 Comments (4) 

  1. Eric says:

    Hi, Thomas. I have a question about Colibri.

    I am looking at the colibrid.py source, and see that sending email is done through connection.sendmail() — but I can’t find this method in django.core.mail anywhere. How does this work?

  2. Indeed, this is an undocumented internal function from Django. This is needed because all ‘official’ Django mail-related functions require the use of a Message object.

    The Django SMTP mail backend has a “connection” attribute, which is actually created by python smtplib, and we use it directly. This is not available with other backends (file, console..).

    (better use the ‘contact’ form on this website to ask me this kind of question, though).

  3. You can check django/core/mail/backends/smtp.py, method EmailBackend.open() to see where connection.connection is created, and then refer to the python documentation.

 Leave a comment 

Your email address will not be published. Required fields are marked *

*

CAPTCHA image
*


 © 2020 - Thomas Capricelli