Note: a companion app for this post can be found here:
In a recent project using django CMS, we found ourselves in need of serving alternate plugin content to authenticated users. This is not the first time a request such as this has been made, and on past occasions we went for a simple approach of naming separate placeholders for the alternative content in the template, and conditionally toggling visibility.
In this instance, however, the layout of the page and scope of the requirement called for a less rigid approach. Our custom django CMS plugin ...
Updated 01/11/16 @ 01:14PM CST by dbertrand2 Comments
The client wanted to give their users the option of printing completed forms to a pdf file. They also wanted the pdf to be rendered with formatting and style that varied slightly from the online display of the completed form, and so desired a solution other than the browser’s own print function. The open-source Reportlab library is a popular solution for generating on-the-fly pdfs, and the xhtml2pdf library, which depends on Reportlab, offers a relatively easy way to convert an html web page to pdf while (more-or-less) preserving css styles. For these reasons, we chose an approach using xhtml2pdf ...
Updated 12/22/15 @ 09:51AM CST by ntaylor
Categories: User Interface0 Comments
When creating a Postgres Database backup, one convenient approach is to export the database to disk via the pg_dump command. This postgres export file can then be picked up by a regular filesystem backup.
A possible security risk with this approach is that your sensitive database data could be situated in multiple locations: in the database itself, at the location where export file is created on disk, and in the filesystem backup.
To mitigate this risk, it makes sense to encrypt your database backups when they are dumped to disk. Using a combination of RSA public/private key encryption and ...
Updated 12/08/15 @ 09:02PM CST by jjasinski0 Comments
September 3, 2015 @ 6:30pm - Braintree at 222 Merchandise Mart Plaza
So far, we have:
Jonathan Bisson - Django-based Autocompl...
If you're interested in presenting, leave a comment and let us know.
RSVP (Facebook preferred with alternative offered for non-Facebookers):
Updated 08/27/15 @ 05:40PM CDT by brian
We use SaltStack as our primary configuration management tool for server provisioning and management. I’ve been doing a fair amount of updates to this process and have primarily been using Vagrant to test my updates locally before pushing out to our Salt Master.
I am going to assume you already have your Salt project set up with your states, pillars, etc. If you want to learn about SaltStack itself, you should go check out the official walkthrough. I also assume you have Vagrant installed and configured. If you want to learn more about Vagrant, you should checkout the documentation ...
Updated 08/24/15 @ 12:45PM CDT by djohnson0 Comments
Page 1 of 12