Skip to content

This repo contains my Blog Project using Django Framework

Notifications You must be signed in to change notification settings

drisskhattabi6/Django-Blog-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Blog Project :

This repository contains a Personal Blog Project developed using the Django Framework.

Only the Super User can create, edit, and delete posts, authors and category in admin Pannel ( http://127.0.0.1:8000/admin ) of django project.

this is a example image of the main page of the blog :

Blog Main Page

The User can search for a specific topic in the blog, and he can surf a specific category of topics.

Run Project :

Download the project first using this cmd :

git clone https://github.com/drisskhattabi6/Django-Blog-Project.git

Once the project is downloaded, navigate into the project directory:

cd Django-Blog-Project

Before running the project, make sure you have Python and Django installed on your system. You can install Django using pip:

pip install -r requirements.txt

Next, you'll need to apply migrations to set up the database schema (Optionel):

python manage.py migrate

Creating static folder:

python manage.py collectstatic

Creating Superuser:

python manage.py createsuperuser

After the migrations are applied successfully, you can start the development server:

python manage.py runserver

The development server will start, and you can access the Blog Project by navigating to http://127.0.0.1:8000/ in your web browser.

More Informations :

  • By default, you will find that there is data in the data base already. you can edit, create ou delete it using admin pannel after creating super user.

  • In this Application, I'm using sqlite as DataBase.

  • When I want to add a new post/topic, I'm using MarkDown syntax.


Feel free to explore the project and customize it according to your requirements. If you encounter any issues or have any questions, don't hesitate to reach out!"