Django application to assign the tasks and planning of your project.
Project description
Django application to assign a tasks, defining bugs and planning of your project.
Installation
pip3 install django-proplan
Quick start
Add “proplan” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'proplan',
]
Include the polls URLconf in your project urls.py like this:
path('plan/', include('proplan.urls')),
Run python3 manage.py migrate to create the Proplan models.
Run python3 manage.py createsuperuser to create the user if you don’t have one.
Start the development server and visit http://127.0.0.1:8000/admin/ to login (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/plan/ to create your plan of work on project.
Automatic Bug System
The Proplan allows you to enable automatic publication of errors that have occurred in the project through ABS - Automatic Bug System. There are 2 ways to do this:
Logging errors directly to server.
Sending errors through API.
Logging errors
Connect “proplan.log.ABSHandler” to your LOGGING setting like this:
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
...
'handlers': {
...
'abs': {
'class': 'proplan.log.ABSHandler',
'level': 'ERROR',
}
},
'loggers': {
...
'django': {
'handlers': ['abs'],
'level': 'ERROR',
},
},
}
Sending errors
Add “ABS_KEY” to your PROPLAN setting like this:
PROPLAN = {
...
'ABS_KEY': 'cookie-supported-key',
}
Make POST response with data of bug to API:
curl -H 'Cookie: proplanabs=cookie-supported-key' \
--data-urlencode 'title=Bug in mobile app&message=More...' \
http://127.0.0.1:8000/plan/abs/create/
Settings
All next settings must be within the dictionary PROPLAN, when you define them in the file settings.py
ACCESS_FUNCTION
Function that checks access to resources. You may want to use:
proplan.access.authenticated - for authenticated users.
proplan.access.staff - for employers and superusers.
proplan.access.superuser - for superusers only.
proplan.access.view_thread - for users with view permission for Thread model.
any custom function.
The default is the internal function proplan.access.view_thread.
ABS_KEY
The options for Automatic Bug System. While there is no key, the system does not work. By default no key.
ATTACH_UPLOAD_PATH
Path to uploading files. By default is:
'proplan/attaches/%(date)s/%(code)s/%(filename)s'
ATTACH_THUMB_SIZE
The size of the thumbnails for attached images. By default is:
(300, 300)
ATTACH_THUMB_EXTENSIONS
List of recognized image extensions to be previewed. By default is:
['.png', '.jpg', '.jpeg', '.bmp']
PRIORITIES
List of recognized image extensions to be previewed. By default is:
[
(1, _('low')),
(2, _('normal')),
(3, _('high')),
(4, _('urgent')),
(5, _('immediate')),
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-proplan-0.0.1.dev20190419055027.tar.gz
.
File metadata
- Download URL: django-proplan-0.0.1.dev20190419055027.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c49f7061ad3b3c678648c488b0f331b43c6b408249bef4a8550321237e655c7 |
|
MD5 | 6613e6fc0918c50f4c533b1e7cb5c8dc |
|
BLAKE2b-256 | 2ac8e98ed9dfe3f10452294c01726e37907ae8a62a1237f03d120261b7c6ecdc |