Skip to main content

Managing document files for projects.

Project description

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;"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huscy_project_documents-1.4.2.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huscy.project_documents-1.4.2-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file huscy_project_documents-1.4.2.tar.gz.

File metadata

  • Download URL: huscy_project_documents-1.4.2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for huscy_project_documents-1.4.2.tar.gz
Algorithm Hash digest
SHA256 40fde041e6945a25f40b2e4340ba9111122049f64be4a1554c9c0a66aee2e17e
MD5 ab3584835a3d6e326bf219f6a79695bf
BLAKE2b-256 12e46a64402c2fff855e1dfa7ca1d778de2229144cb989a5c32d4e3764435be4

See more details on using hashes here.

File details

Details for the file huscy.project_documents-1.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for huscy.project_documents-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad20f93f79768aec5645985ea6bb32490dc280a0b85c4c0a5b0f8ba471d81168
MD5 56bad6615b9c7334471e03f5b084e1aa
BLAKE2b-256 5303053487c624952a6be080994261b275903313da0d28aff41ed00efd9bddb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page