Skip to content

abdrrahim2002/Personal-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Personal Blog Platform

This is a fully functional personal blog platform built with Django. It allows users to create, tag, view, and comment on blog posts, save posts to a "read later" list, and upload images as post thumbnails. This project demonstrates key Django features, including ORM for database management, session handling, slugs for clean URLs, and media file handling, providing a robust content management experience.


Project overview

home
all posts
post detail
database

Features

  • Create, edit, update, and delete blog posts via the admin panel
  • Tagging system to categorize posts by topic
  • User commenting system for interacting with blog posts
  • "Read Later" functionality allowing users to save posts for future reading
  • Image upload for adding visuals to blog posts
  • Slugs for clean URLs to improve SEO and user experience
  • Session management to store and manage users' "Read Later" lists

Technologies Used

  • Django 4.2
  • Python 3.11
  • HTML5, CSS3
  • SQLite (default Django database)

Installation

  1. Clone the repository:

    https://github.com/abdrrahim2002/Personal-Blog.git
    
  2. Navigate into the project directory:

    cd Personal-Blog
    
  3. Create virtual environment:

    virtualenv venv
    source venv/bin/activate
    
  4. Install the dependencies:

    cd my_site
    pip install -r requirements.txt
    
  5. Run migrations:

    python manage.py makemigrations
    python manage.py migrate
    
  6. Create a superuser:

    python manage.py createsuperuser
    
  7. Run the development server:

    python manage.py runserver
    
  8. Access the site in your browser at:

    http://127.0.0.1t:8000
    
  9. For creating posts and manage them use the admin panel go to :

http://127.0.0.1:8000/admin/

Acknowledgements

This project was created by following a comprehensive tutorial from Maximilian Schwarzmüller, All credit for the structure and functionality of this project goes to the original author. I implemented the project to deepen my understanding of Django's core features, including ORM, sessions, slugs, and file handling.

Special Thanks

A special thanks to Tutorial Maximilian Schwarzmüller for creating such an informative and well-structured tutorial. Your guidance has been invaluable in helping me understand Django.


Final Thoughts

Thanks for taking the time to explore my project!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published