Managing ethics and ethic files for projects in a human research context.
Project description
huscy.project-ethics
Requirements
- Python 3.7+
- A supported version of Django
Tox tests on Django versions 3.2, 4.0 and 4.1.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 235f4a793fe1deb60c06266884377d85d06b142a5262470cfcbf4899d37cead0 |
|
MD5 | dd96b66e583d44080dcf8776e2b23c6d |
|
BLAKE2b-256 | 067f5895ceb0c02f434b8194e94655c500afa64bae6bde0d5e2ce972fd4ba1d6 |
Close
Hashes for huscy.project_ethics-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee20194614accd5091eb3911a7b5a297a1791bea6b2c6a8498ed30853358d4e |
|
MD5 | 75c639ea880f2a4d06c0176c14836014 |
|
BLAKE2b-256 | 1fd061445851d4dfa944c7d25152a62c213984af1baed474ea86775550bd366c |