Skip to main content

huscy.project_documents

PyPi Version PyPi Status PyPI Downloads PyPI License Python Versions Django Versions

Requirements

  • Python 3.8+
  • A supported version of Django

Tox tests on Django versions 4.2, 5.0 and 5.1.

Installation

To install husy.project_documents simply run:

pip install huscy.project_documents

Configuration

We need to hook huscy.project_documents into our project. This package depends on huscy.projects so we have to add this as well. We also have to add further requirements for django_guardian, django_restframework and drf_nested_routers.

  1. Add packages into your INSTALLED_APPS at settings module:
INSTALLED_APPS = (
    ...
    'guardian',
    'rest_framework',
    'rest_framework_nested',

    'huscy.project_documents',
    'huscy.projects',
)
  1. Create huscy.project_documents database tables by running:
python manage.py migrate

Development

After checking out the repository you should run

make install

to install all development and test requirements and

make migrate

to create the database tables. We assume you have a running postgres database with a user huscy and a database also called huscy. You can easily create them by running

sudo -u postgres createdb huscy
sudo -u postgres createuser -d huscy
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123'"
sudo -u postgres psql -c "ALTER DATABASE huscy OWNER TO huscy;"

Metadata

Release files for huscy.project-documents 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for huscy.project-documents 1.4.2
File Size Uploaded
huscy_project_documents-1.4.2.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for huscy.project-documents 1.4.2
File Interpreter ABI Platform
huscy.project_documents-1.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / huscy_project_documents-1.4.2.tar.gz

Download URL huscy_project_documents-1.4.2.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
40fde041e6945a25f40b2e4340ba9111122049f64be4a1554c9c0a66aee2e17e
BLAKE2b-256 checksum
How to use checksums
12e46a64402c2fff855e1dfa7ca1d778de2229144cb989a5c32d4e3764435be4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / huscy.project_documents-1.4.2-py3-none-any.whl

Download URL huscy.project_documents-1.4.2-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad20f93f79768aec5645985ea6bb32490dc280a0b85c4c0a5b0f8ba471d81168
BLAKE2b-256 checksum
How to use checksums
5303053487c624952a6be080994261b275903313da0d28aff41ed00efd9bddb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page