1. Setting up the Server (on Digital Ocean)

    The initial setup

    Digital Ocean has a pretty nice API which makes it easy to automate the creation of their servers (which they call Droplets. This is nice when you’re trying to work towards automation of the entire process (like I was).

    I won’t jump into the automation …

    read more
  2. Django form filters

    I’ve been working on a Django Project for a while and one of the apps I have tracks candidates. These candidates have dates of a specific type.

    The models look like this:

    Candidate

    class Candidate(models.Model):
        first_name = models.CharField(max_length=128)
        last_name = models.CharField(max_length=128)
        resume = models …
    read more
  3. Using different .env files

    In a Django project I’m working on I use a library called Django-environ which

    allows you to utilize 12factor inspired environment variables to configure your Django application.

    It’s a pretty sweet library as well. You create a .env file to store your variable that you don’t want …

    read more
  4. Writing a Raffle Script

    Due to the COVID Pandemic, many things are ... different. One thing that needed to be different this year was the way that students at my daughters middle school got to spend their ‘Hero Points’.

    Hero Points are points earned for good behavior. In a typical year the students would get …

    read more

« Page 2 / 15 »

links

social