A few days ago, I migrated my static website to this custom developed Django website. I did that because I wanted to get rid of my Wordpress site where I was selling the course. I am now selling the course on this site (which you can find here ). Previously, I
Recently, I had to implement file uploads in one of my applications. Now, you would probably think... just use django-storages and be done with it. Yes, but actually no. There is one big problem with the set up of that package: You are always routing the files through your
Lately, I have been seeing an increasing amount of questions specifically regarding the use of Vue.JS in Django. In this tutorial, I will go through two options on how to use Vue with Django. There are more options, but these two are the most straightforward and probably easiest to
There are multiple ways to check what Django version you are on. Some are easier than others. I will go over 4 options, if they all don’t work for you, comment below and I will try to help you out. Option 1 When you start your server ( python
If you forgot your django admin/superuser password, there are multiple ways to reset it. We will go over them. If you lost your username, then we will find that back again as well. Find your username If you already have your username, then scroll to the next part. On
This Python Gitignore will give you everything you need for your next Python project. This is including a part for specific IDE/code editors. You can remove the ones you don't use. __pycache__ *.py[cod] *$py.class # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/
In this guide, we will deploy Django with Dokku on a VPS with Ubuntu 19.04 installed. Dokku functions a bit like the PaaS solution, Heroku, but in this case, you are hosting it on your own VPS. Dokku is powered by Docker. If you don’t have a
Adding multiple languages in Django can be a bit challenging if you have never done this before. In this tutorial, I'll walk you through the steps that you will have to take to support multiple languages. We will start with English and then add Dutch as well (as
Going from a database where all information from all users/teams is mixed to an application that uses multi-tenancy to separate the information per user can be quite difficult. Especially when those users created a bunch of data already. In this article, we will go over the steps I
If you are using Git for version control, you need a Gitignore file to ignore all files that don’t matter and shouldn’t be in your git repository. Think of your virtual environment and all the .pyc files. Those are both generated and can be generated by