Managing pseudonyms for subjects.
Project description
huscy.pseudonyms
Requirements
- Python 3.6+
- A supported version of Django
Tox tests on Django versions 3.2 and 4.0.
Installation
To install husy.pseudonyms
simply run:
pip install huscy.pseudonyms
Configuration
First of all, the huscy.pseudonyms
application has to be hooked into the project.
- Add
huscy.pseudonyms
and further required apps toINSTALLED_APPS
in settings module:
INSTALLED_APPS = (
...
'huscy.pseudonyms',
'huscy.subjects',
)
- Create 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 migration files and 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
huscy.pseudonyms-1.1.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for huscy.pseudonyms-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16ee1755d2339c2085ab317cb579993e4c2c686550850f9fa45df0c68408f295 |
|
MD5 | c3d4c23cbc3ee2490c31964211274623 |
|
BLAKE2b-256 | 4fa015c984148bedd836da05c05f2d08d72bf2a131026abfa6d7a89f02364137 |