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 2.2, 3.1 and 3.2.
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
huscy.project_ethics-1.1.0.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for huscy.project_ethics-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e3a178183ef34c905d6e740d9e3783f838680be497f093969cb626805b5db5 |
|
MD5 | 56343b9113978dc22c5ead824b696534 |
|
BLAKE2b-256 | 48b4dd78935cbfab8424a8f7ba9b906aa747497c7d34350537ac7f056ffa1f40 |
Close
Hashes for huscy.project_ethics-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9e2b0e99413b3ba04cd38f44d638a5e9f9cc42ec2941c03b9438f239219154a |
|
MD5 | 7417561d36faed862c5170275766042a |
|
BLAKE2b-256 | cace687f05535278ffb401cf565bf3f20056dd321570102f18eaba72223f3a0a |