Managing ethics and ethic files for projects in a human research context.
Project description
huscy.project-ethics
Requirements
- Python 3.6+
- A supported version of Django
Tox tests on Django versions 3.2 and 4.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-1.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0871d6fb94d01d4afa6d03c8ba2a836989a0279e7423ceb59629ca3dd81a03a |
|
MD5 | b2417759c10ef692889355f35ddc09f4 |
|
BLAKE2b-256 | b3f636d69abcaf3bcf025a989836c23635b5b2e21de4c613ed63bd7c5a6367eb |
Close
Hashes for huscy.project_ethics-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b131a8dd74edcd7e44fc78db1b95502d0dbd0b60922da9d692c2e65364472e0c |
|
MD5 | 987e5d1dd5fb216e2d9bdce0c0769b21 |
|
BLAKE2b-256 | 89fc8731da3fa590c5cf6ed3ab92cb5ba134da0f317726d801f24578abd68dac |