/django_blog

Primary LanguageJavaScript

Django Blog

Welcome to Django Blog, a simple web application where users can sign up, log in, create, edit, and delete blog posts. This application uses SQLite as the database.

Features

  • Sign up and log in with a unique username and password
  • Create, edit, and delete blog posts
  • View all blog posts on the home page

Requirements

  • Python 3.x
  • Django 2.x

Usage

  1. Clone the repository: git clone https://github.com/ishworii/django_blog.git
  2. Navigate to the project directory: cd django_blog
  3. Create a virtual environment and activate it:
    python -m venv venv
    source venv/bin/activate
        
  4. Install the required packages: pip install -r requirements.txt
  5. Migrate the database: python manage.py migrate
  6. Create a superuser: python manage.py createsuperuser
  7. Run the development server: python manage.py runserver
  8. Open a web browser and go to http://localhost:8000/ to view the application

License

This project is licensed under the MIT License. See the LICENSE file for more information.