Listing and creating users via REST API
Project description
huscy.users
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.users simply run:
pip install huscy.users
Configuration
The huscy.users application has to be hooked into the project.
Add huscy.users to INSTALLED_APPS in settings module:
INSTALLED_APPS = (
...
'huscy.users',
)
Development
After checking out the repository you should activate any virtual environment. Install all development and test dependencies:
make install
Create database tables:
python manage.py 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 createdb huscy
sudo -u postgres createuser -d huscy
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
sudo -u postgres psql -c "ALTER DATABASE huscy OWNER TO 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file huscy.users-1.3.0.tar.gz.
File metadata
- Download URL: huscy.users-1.3.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76050060f745a021e97770c78f424fe71647ed94e81f1fd9150dc4c495e2ae4e
|
|
| MD5 |
eba1bab1cd5feda6c5136e1a453073f0
|
|
| BLAKE2b-256 |
a577f36992edf526873dc8ebc1c21ba151cdb92a4a2c457dfb44603e70a41a3b
|
File details
Details for the file huscy.users-1.3.0-py3-none-any.whl.
File metadata
- Download URL: huscy.users-1.3.0-py3-none-any.whl
- Upload date:
- Size: 15.8 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 |
9994cea2997307b4094c9fca79b348476aa5d8fb0cc12c32b98df5fe7aee46ed
|
|
| MD5 |
b89cdb0edbc1ce6b78b42452a8389a07
|
|
| BLAKE2b-256 |
6973977146efa1a4d8007e71fcb073c990e3c33d6d7b2ed46e0b5505c3769b53
|