Hostel Management WebApp using django
Pre-requisite: git, python
Quick start
- Install app.
pip install django-hstl
- Modify settings.py such that
AUTH_USER_MODEL = 'django_hstl.MyUser' # Add the app in your INSTALLED_APPS INSTALLED_APPS = [ # ..., "django_hstl", ] # Basic Session related settings SESSION_COOKIE_AGE = 300 SESSION_SAVE_EVERY_REQUEST = True SESSION_EXPIRE_AT_BROWSER_CLOSE = True # Advance Session related settings SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True SECURE_SSL_REDIRECT = True SESSION_COOKIE_HTTPONLY = True
- Include the app URLconf in your project urls.py like this
path("hstl/", include("django_hstl.urls")),
- Run
python manage.py migrateto create the models. - Create Superuser
manage.py createsuperuser - Visit the
/hstl/URL to explore the WEB APP.
Getting Started
- Create a directory and cd into it.
mkdir ./hstl/ cd ./hstl
- Create a virtual environment and activate it.
- LINUX / MAC
python3 -m venv .venv source ./.venv/bin/activate
- WINDOWS
python -m venv .venv .\.venv\Scripts\activate
- Install app.
pip install django-hstl
- Create a django project
django-admin startproject MyApp .
- Modify "MyApp/setting.py" such that
AUTH_USER_MODEL = 'django_hstl.MyUser' # Add the app in your INSTALLED_APPS INSTALLED_APPS = [ # ..., "django_hstl", ] # Basic Session related settings SESSION_COOKIE_AGE = 300 SESSION_SAVE_EVERY_REQUEST = True SESSION_EXPIRE_AT_BROWSER_CLOSE = True
- Include the app URLconf in "MyApp/urls.py" like this
path("hstl/", include("django_hstl.urls")),
- Run
python manage.py migrateto create the models. - Create Superuser
manage.py createsuperuserand start development servermanage.py runserver - Visit the
/hstl/URL to explore the WEB APP.
Metadata
Release files for django-hstl 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_hstl-0.7.tar.gz | 32.7 kB | With provenance | Details for django_hstl-0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_hstl-0.7-py3-none-any.whl | Python 3 | none | any | Details for django_hstl-0.7-py3-none-any.whl |
Total release size: 74.1 kB
Release files / django_hstl-0.7.tar.gz
| Download URL | django_hstl-0.7.tar.gz |
|---|---|
| Size | 32.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9ad8b15b54a307120ae3380c924c83325374b29855020f0f3b1a2f7930bd751
|
|
BLAKE2b-256 checksum How to use checksums |
c8dc97d72896999c7e893cd17c2a9c374331b8c8470ef7963d2736e6475b878c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.
Transparency logRelease files / django_hstl-0.7-py3-none-any.whl
| Download URL | django_hstl-0.7-py3-none-any.whl |
|---|---|
| Size | 41.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f435e669ac403dbbec3952413561ec2609f2e5236764ba73d6bc7dc6e9c013c
|
|
BLAKE2b-256 checksum How to use checksums |
6aa33d9e54453af0bdf89a48f28e6e099d4dcac10fc311c14227c71134d28ec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.
Transparency logSecurity for django-hstl 0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for django_hstl-0.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.