a-afra / django-blog

django blog for practicing the basics of django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Blog

HomePage

Description

A blog site with a simple design, built with Django. I did this project to practice the basics of Django such as:

  • Django ORM
  • Django migrations
  • Django authentication
  • Template tags
  • And more

This django project has two models including: Account, for user management and Blog, for articles.

Features

  • Register account and Login

signup/login

  • Create new article

signup/login

  • View article details

signup/login

Getting started

Dependencies

First, make sure you have python3 installed.

Create a virtual environment and activate it:

python -m venv [directory]
[directory]\Scripts\activate.bat

Install dependencies:

pip install -r requirements.txt

Start the project

Open a terminal at project directory:

python manage.py runserver

The site should be shown up at http://localhost:8000

About

django blog for practicing the basics of django


Languages

Language:Python 64.6%Language:HTML 19.5%Language:CSS 13.0%Language:JavaScript 2.8%