View All

Keep Sensitive Data Out Of Source Control

development

Using source control tools, such as Git or Mercurial, is a good idea for projects of any size; however, some developers using these tools may overlook the importance of hiding sensitive information from their repository. This is especially important if the repository is public.

I recently had to take this into consideration when starting this website so I spent some time exploring my options. There are a few Django settings that I knew should be hidden: the project's secret key and the database connection information.

Two solutions are to use a settings file that is not tracked in source control or to use environment variables. There are possibly better solutions but these are two good options. I decided to use a settings file but I'll o...

Read more

Getting Started With Django

development

I've been wanting to get more familiar with web development and since I'm a fan of Python I chose to start with the Django framework. I've been very pleased with the framework and it's been fun to learn. Below are some of the resources that have helped me starting out.

I began by going through a few tutorials. These provided a good introduction to some of the various aspects of developing a website with Django.

After completing each tutorial I decided to make a personal website with a blog and portfolio. This is currently still a work in progress but it was a simple enough project to start with.

I also decided to take on the task of deploying the project myself to a VPS. I chose to deploy to Dig...

Read more