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.1, 2.2, 3.0 and 3.1.
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',
'rest_framework_nested',
'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.1.tar.gz
(9.0 kB
view details)
Built Distribution
File details
Details for the file huscy.subjects-1.0.1.tar.gz
.
File metadata
- Download URL: huscy.subjects-1.0.1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0faf9473e1fa68db194b02f61512d5ec88e47af17cebab02125958ce1f091c01 |
|
MD5 | 99b1407316990a26aff73eb39d2c595c |
|
BLAKE2b-256 | d60dc378e684f2d211e4e9f769608abd4f0397eccd06e199cda846b9d16fedc4 |
File details
Details for the file huscy.subjects-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: huscy.subjects-1.0.1-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3108557be6828972cfe511eb715662e500ea9c1895d4edf9a240883318bc9b85 |
|
MD5 | 168bf5e6ec682615d033c444b27862da |
|
BLAKE2b-256 | ba6c7338acd49751edba09af4197b4e5f4714572aa7a29df38df960a386d13f6 |