Django reservation system
Customizable reservations (you can provide your own reservation model)
Generic reservation create view and reserve product view
Reservation list filter by user
Email notifications with template system
Django Admin backend for administrative proposuse like Accept, Borrow, Denied reservations
Parcial reservations in admin (Not all products can be borrowed)
UI based on Twitter Bootstrap
Using i18n to handle translations
Documentation
See in readthedocs.io
Installation
Install with pip
$ pip install django-reservation
In settings.py
Set “djreservation” in your INSTALLED_APPS.
Set ‘djreservation.middleware.ReservationMiddleware’ in MIDDLEWARE
MIDDLEWARE = [
...
'djreservation.middleware.ReservationMiddleware'
]
Configure your email settings
DEFAULT_FROM_EMAIL = "mail@example.com"
EMAIL_HOST = "localhost"
EMAIL_PORT = "1025"
Configure database
Run migrations
python manage.py migrate
In your code
Where you want, create a view for reserve a product
from djreservation.views import ProductReservationView
class MyObjectReservation(ProductReservationView):
base_model = MyObject # required
amount_field = 'quantity' # required
extra_display_field = ['measurement_unit'] # not required
In urls.py
Append django reservation to urlpatterns
from djreservation import urls as djreservation_urls
urlpatterns = [
...
url(r"^reservation/create/(?P<modelpk>\d+)$", MyObjectReservation.as_view())
]
urlpatterns += djreservation_urls.urlpatterns
Metadata
Release files for django-reservation 0.2.10
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 | |
|---|---|---|---|---|
| django-reservation-0.2.10.tar.gz | 59.1 kB | Without provenance | Details |
Release files / django-reservation-0.2.10.tar.gz
| Download URL | django-reservation-0.2.10.tar.gz |
|---|---|
| Size | 59.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5b1c1ff343145c24f582431a5a3efc00b8436739aa53861c46175efb24b19f3
|
|
BLAKE2b-256 checksum How to use checksums |
4e693b6116b93427d1036dd046ce6011aa8dab6061ca4cb6272a89aa6f6133e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.2
|
Security for django-reservation 0.2.10
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.