Managing pseudonyms for subjects.
Project description
huscy.pseudonyms
Requirements
- Python 3.8+
- A supported version of Django
Tox tests on Django versions 3.2, 4.1 and 4.2.
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.2.tar.gz
(15.6 kB
view details)
Built Distribution
File details
Details for the file huscy.pseudonyms-1.2.2.tar.gz
.
File metadata
- Download URL: huscy.pseudonyms-1.2.2.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85712c556149809bf2e6451e5cece91d51ef1dd6c09bad7947b11e8d33b516a3 |
|
MD5 | 4c8dd5f0a250aa315939430525263087 |
|
BLAKE2b-256 | 2f038042596e63259ce4da829b79dc5da7daa4f964a4ae2b2a1941bcc0b48099 |
File details
Details for the file huscy.pseudonyms-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: huscy.pseudonyms-1.2.2-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2ecc6cd96f562d2471c7745be4f095cfdf485c120d9475ef2fa45a01c37cf25 |
|
MD5 | 7c64dcf09cbb0ed678f99e4249b5407a |
|
BLAKE2b-256 | 0739a75ac05eeaffc1191ef898d6cca48acc14a5cf81bdfb465f31670764c2ab |