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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d089d9b082903e903878e1cc5ab574165f1d88c29c2ae3b4b2db5f48637aa56 |
|
MD5 | d0f83873df8b0f9173d4eec41d4d1a90 |
|
BLAKE2b-256 | 7f5556e41116f912922d30251332a93bf6b95407f1ab35339c8fa6c77bd945ff |
Close
Hashes for huscy.project_ethics-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed23b8dadbc7eee51043891eb312f42dafd16301fd2b323a748e117cfbc36bed |
|
MD5 | b25e09a9f1a0dc43c93ab0b010beadb4 |
|
BLAKE2b-256 | 109121937d9166d17f161b8a018e4b3d67c248804b7c368f1b7c6f7a2bef907c |