Will & Skill Developers

Will & Skill Developers


Thoughts, snippets and ideas from the team at Will & Skill AB, Stockholm.

Django

DEBUG mode in Django templates

A lot of people add their own context processor but there is a better and safer way to do this in Django. The necessary steps Set DEBUG = True in your settings.py Add your current IP to INTERNAL_IPS in your settings.py Your settings.py file # settings.py # Set DEBUG = True DEBUG = True # Add the IP of your computer INTERNAL_IPS = ["127.…

Faisal MahmudFaisal Mahmud

Send mail with Mandrill and Django

Mandrill is a great service for sending mail from your app. In this tutorial I will show you how simple it is to use Mandrill with Django thru the use of a plugin called djrill. Go to http://www.mandrill.com/ and create an account if you do not have one already! Create an API key by clicking on "Settings" and then "SMTP & API Info"…

Faisal MahmudFaisal Mahmud