Managing ethics and ethic 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 versions 3.2, 4.1 and 4.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
Built Distribution
Close
Hashes for huscy.project_ethics-1.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73885476431b51ee8aed01d304165ad3db66de951336c1cafdd2275d4b72c335 |
|
MD5 | 335b2fd42b45dc84638dbe3c0e372c8e |
|
BLAKE2b-256 | 74c68a01a964307a257497a1654047ec763aa79105c7547e18e8188adc723834 |
Close
Hashes for huscy.project_ethics-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6870a867f8ebdda541c3bba8bcb394ddac7048f3be1bbd628dfb88cb409af0d |
|
MD5 | a5646ea042b07a3be3a65ae1084b978b |
|
BLAKE2b-256 | 90b75e6a3735f70741aa9d5ff8f678b3a4e2cd525530aa136e70a025fd57115b |