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.0.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

huscy.project_documents-1.0.3-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: huscy.project_documents-1.0.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for huscy.project_documents-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e89b9c799b5bd048bc300030eba5fe2a6e082507537057421ead3b1f81a5f7f3
MD5 54e99d8aa0ea3f0396dc0950ecc37935
BLAKE2b-256 5cdd948619bdae126db60c63a8c3543c182820ebed3c08fd3f3c351227a6d2b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huscy.project_documents-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for huscy.project_documents-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a3eaf48b0b2f392ad7a5520dcae732ec61b48e2cf07dba8377ebf2f27dfcd5a9
MD5 96bf6e89fedfecc6102aa109471ddce6
BLAKE2b-256 5f4d2538607d3cfe3b7f7578be38c11d0a22c5c2d21395725ef98f16c5f3ee2f

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