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 2.2, 3.0 and 3.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.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

huscy.project_documents-1.1.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: huscy.project_documents-1.1.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.1.tar.gz
Algorithm Hash digest
SHA256 851d64b7cc475c5205e903139b139e8377cde7b6d6376296667e05ac4d983dc5
MD5 48fc6f8e553d049054e6cdc5820e1018
BLAKE2b-256 32ef4ed49b24b116ce10d5d5efb571dbe469b3866a882adeb30137fe6140e026

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huscy.project_documents-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31005bf0289447116f79b31a8d7f479cfbe46e89ff44108a524c232c01a5291c
MD5 ab661b56c9b1e08d054fd646b222c7ed
BLAKE2b-256 b1aba7e808f0c2dbfa0311989ae2187d4777c510127bc41e5c3c1a08b90d3c52

See more details on using hashes here.

Supported by

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