Managing subjects in a human research context.
Project description
huscy.subjects
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.subjects
simply run:
pip install huscy.subjects
Configuration
First of all, the huscy.subjects
application has to be hooked into the project.
- Add
huscy.subjects
and further required apps toINSTALLED_APPS
in settings module:
INSTALLED_APPS = (
...
'django_countries',
'phonenumber_field',
'rest_framework',
'huscy.subjects',
)
- Create
huscy.subjects
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 psql -c "GRANT ALL PRIVILEGES ON DATABASE huscy TO huscy;"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
sudo -u postgres createdb huscy
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.subjects-1.0.3.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file huscy.subjects-1.0.3.tar.gz
.
File metadata
- Download URL: huscy.subjects-1.0.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c7d7203d187c7da55cbb31f0560dc264b011990b8b7652a1ab0668991c4c98 |
|
MD5 | ab86911dd2c19e957741fb609327e7de |
|
BLAKE2b-256 | bb09ded8eaecc722439ac6aec49e60a62d9184ee3fdd0a9a8bfda52d5b9303a0 |
File details
Details for the file huscy.subjects-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: huscy.subjects-1.0.3-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a82b97f12fcc776907612083b0b4c6fb188c312527f7d59b82216305525f3d |
|
MD5 | df1ffe8192195169ac0d545474b0f92e |
|
BLAKE2b-256 | 35f216fd2dd5f431ac8d809e4ded6ec1080bb7d91903e9d18f7150f66a5ad1e2 |