Welcome to the Django Blog Project! This repository hosts a simple yet powerful blogging platform built with Django, designed for developers to learn, experiment, and create their own personal blog.
- 🔐 User Authentication: Sign up, log in, and log out functionality for users.
- 📝 CRUD Operations: Create, Read, Update, and Delete blog posts.
- 📱 Responsive Design: A mobile-friendly interface using modern CSS frameworks.
- 💬 Comments Section: Users can leave comments on posts to spark discussions.
- 🏷️ Category and Tag Management: Organize posts with categories and tags.
- ✍️ Rich Text Editor: Format posts with bold, italic, and other styling options.
- 🔍 Search Functionality: Easily find posts with a built-in search feature.
- 📄 Pagination: Browse posts with smooth pagination for a better user experience.
- 📈 SEO Optimization: Meta tags and SEO-friendly URLs for better search engine visibility.
Follow the steps below to set up the project on your local machine.
git clone https://github.com/your-username/django-blog.git
cd django-blog
python -m venv env
source env/bin/activate # For Windows: env\Scripts\activate
pip install -r requirements.txt
Run migrations to set up the database:
python manage.py migrate
python manage.py createsuperuser
Follow the prompts to create an admin account.
python manage.py runserver
Your blog should now be accessible at http://127.0.0.1:8000/
.
Contributions are welcome! If you'd like to improve this project, please fork the repository, make your changes, and submit a pull request.
- 🍴 Fork the repository.
- 🌿 Create a new branch:
git checkout -b feature-branch
- ✨ Make your changes and commit:
git commit -m 'Add new feature'
- 🚀 Push to the branch:
git push origin feature-branch
- 🔄 Open a pull request.
This project is licensed under the MIT License. See the LICENSE
file for more details.
Happy coding! 🚀🔥