Managing ethics and ethics files for projects in a human research context.
Project description
huscy.project-ethics
Requirements
- Python 3.8+
- A supported version of Django
Tox tests on Django version 4.2 and 5.0.
Installation
To install husy.project-ethics
simply run:
pip install huscy.project-ethics
Configuration
First of all, the huscy.project_ethics
application has to be hooked into the project.
- Add
huscy.project_ethics
and further required apps toINSTALLED_APPS
in settings module:
INSTALLED_APPS = (
...
'guardian',
'rest_framework',
'huscy.project_ethics',
'huscy.projects',
)
- Create
huscy.project-ethics
database tables by running:
python manage.py migrate
Development
After checking out the repository you should activate any virtual environment. Install all development and test dependencies:
make install
Create database tables:
make migrate
We assume you're having a running postgres database with a user huscy
and a database also called huscy
.
You can easily create them by running
sudo -u postgres createuser -d huscy
sudo -u postgres createdb huscy
sudo -u postgres psql -c "ALTER DATABASE huscy OWNER TO huscy;"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
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
Close
Hashes for huscy.project_ethics-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29ed620e463e2fb3920d2573f2be7b930210d064dbea9eb2304aa1c52a0be68c |
|
MD5 | 22d63680bf84e434acb6040cb2da6778 |
|
BLAKE2b-256 | 0817150ff1f5f6f79377b0d3f174609e792bd5174226930e1e93cd96e8b36beb |
Close
Hashes for huscy.project_ethics-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7f2ca91771c45d828b5e73aab430e88b25074e5842ed6c0c7df6ddc605ee67 |
|
MD5 | 7be04b6a42abfabc83d88ca8fa69da59 |
|
BLAKE2b-256 | 1559519a6ef455fcacedadce573f3515bac7de091210bf8fd5aeb82b1a3dee84 |