Blog Hosting Application using Django , DRF(Django Rest Framework) , HTML , CSS allowing users to register themselves , post blogs written by them and view different blogs by other bloggers in three different categories including Bussiness, Sports and Entertainment apart from that they have a dedicated profile page where they can view and update their various details , Also hosts a api to query the database for different blogs written by various users in each category ,update and delete their respective blogs.
Python 3
Django 2.2
Django crispy forms 1.9.2
Django rest framework 3.9.3
messages 2.24
requests 2.24.0
Pillow 8.0.1
$ python3 -m venv .venv && source .venv/bin/activate
pip3 install -r requirements.txt
$ python3 manage.py makemigrations
$ python3 manage.py makemigrations blog
$ python3 manage.py makemigrations users
$ python3 manage.py migrate
$ python3 manage.py createsuperuser
then run in the developement mode on port 8080 with :
$ python manage.py runserver
DEBUG
: set the djangoDEBUG
option. DefualtTrue
.TIMEZONE
: DefaultUTC
. Other examples are :America/Buenos_Aires
.LANGUAGE_CODE
: Defaulten-us
. Other exmaples are :es-ar
.