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.2.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for huscy.pseudonyms-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e1389ba29a29f5d324bafcc86a4e69b72c0cb91dea85d43e9f63829673c709 |
|
MD5 | 429d61e2edb496ab40a28a34d0cbcec8 |
|
BLAKE2b-256 | ad35f045c32b65ec0448cbcb6db789e6da98b096d56e9719c45b08a484ceaedc |