Managing document files for projects.
Project description
huscy.project_documents
Requirements
- Python 3.8+
- A supported version of Django
Tox tests on Django versions 4.2 and 5.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.
- Add packages into your
INSTALLED_APPS
at settings module:
INSTALLED_APPS = (
...
'guardian',
'rest_framework',
'rest_framework_nested',
'huscy.project_documents',
'huscy.projects',
)
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file huscy.project_documents-1.4.1.tar.gz
.
File metadata
- Download URL: huscy.project_documents-1.4.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1752a3ae2ec5558f5c244408eb5739bee487984e44d2994ad7c11ad977c6e4b |
|
MD5 | d40b22e2e2cac3d63c2b6ca32ee05eb5 |
|
BLAKE2b-256 | fecbe7f78740a5328c9a9eef41ebee284a071a8577ea0437192e3e02993f72e8 |
Provenance
File details
Details for the file huscy.project_documents-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: huscy.project_documents-1.4.1-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0dde78506a3f188f7611945f6d0c5b8bd69fa2f6f6451cd5cc15691e386f7a2 |
|
MD5 | acc158ef70f0f6e342c4346b89da854e |
|
BLAKE2b-256 | eac4e35735a8bd2d3e4daff793d6ef06fd3c0e3eb28812594dd501ff07985435 |