Skip to content

Shenile/AccuKnox-Django-Assignment

Repository files navigation

AccuKnox-Django-Assignment

Overview

This project demonstrates the handling of Django signals using post_save. It includes examples of synchronous execution, same-thread execution, and transactional behavior.

Setup

  1. Clone the repository:

    git clone https://github.com/Shenile/AccuKnox-Django-Assignment.git
  2. Navigate to the project directory:

    cd signals_assesment
  3. Create a virtual environment:

    python -m venv venv
  4. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS/Linux:

      source venv/bin/activate
  5. Install dependencies:

    pip install -r requirements.txt
  6. Run migrations:

    python manage.py migrate
  7. Run the server:

    python manage.py runserver

Running Tests

To run tests, use:

python manage.py test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages