Setting django's static and media URLS

March 4, 2019 Chris Shaw Tutorials 7565 views

Setting your static and media urls for your django project on a shared server is simple. Make it habit to be one of the first things you do as you start a new project. All the examples in this project are for django version 2.x.


Connecting a django project to a shared server database

Feb. 12, 2019 Chris Shaw Tutorials 1837 views

In a previous article, I showed how to easily deploy django on a shared server. Shared servers also provide a options of database servers that you can use for your project.


Hosting your Django project with a2hosting.

Jan. 28, 2019 Chris Shaw Tutorials 2006 views

IMPORTANT UPDATE. This article is still relevent if you want to host Django 1.11 and 2.x projects. But Django 3 requires a higher version of Python. You can read my new article on how to set up Django 3 with A2 hosting here. Moving you django project from a local development environment to the open internet can be a daunting task, especially when you have a tight budget. There are free options with pythonanywhere and Heroku and probably others. For my first 'live' project, I used pythonanywhere for a while, but found it limiting. I wanted the freedom and the budget prices that shared servers offer, that I had gotten used to developing wordpress and other php based websites.