Feat: Modularize time-logging plugin #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Django Time Logging
A Django plugin for tracking time spent on GitHub issues with real-time timer functionality.
Fixes: #2
Features
Requirements
Installation
Install the plugin using pip:
Or install from source for development:
Configuration
Step 1: Add to Installed Apps
Add
time_loggingto your Django project'sINSTALLED_APPSinsettings.py:Step 2: Configure URL Routes
Include the time logging URLs in your project's
urls.py:Step 3: Run Migrations
Apply the database migrations:
Step 4: Create Base Template
The plugin requires a base template at
templates/base.htmlwith the following blocks:Usage
Accessing the Time Logger
Navigate to
http://your-domain.com/time-logging/in your browser.Starting a Time Log
https://github.com/owner/repo/issues/123)Stopping a Time Log