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.6+
  • A supported version of Django

Tox tests on Django versions 3.2 and 4.0.

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.2.1.tar.gz (5.2 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.2.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file huscy.project_documents-1.2.1.tar.gz.

File metadata

  • Download URL: huscy.project_documents-1.2.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.3 tqdm/4.56.0 importlib-metadata/4.8.3 keyring/22.0.1 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for huscy.project_documents-1.2.1.tar.gz
Algorithm Hash digest
SHA256 b5b95dea821aa27da87879ecb66215d03240bc51cb08e612ee0c0a48a354a3f8
MD5 8f483c8d1ea684b5f9998a397bc0395d
BLAKE2b-256 4b07e72a3127e018fd8b0044cb56d0a20d6297101d227f6653d4d81cfe5ca02d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huscy.project_documents-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.3 tqdm/4.56.0 importlib-metadata/4.8.3 keyring/22.0.1 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for huscy.project_documents-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e7fababe879ee70a26972ee6c1f6ad5b39a697d3019ad809ba74e144f5d8d3ef
MD5 96675a4a2353fe128dece11a7c464c12
BLAKE2b-256 249380af74e0fb3409d97d681ae76acce40460585d9d6c90065c7d2256b70534

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