Powerful and dinamic reservation system in django.
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
See in readthedocs.io
Install with pip
$ pip install django-reservation
Set “djreservation” in your INSTALLED_APPS.
Set ‘djreservation.middleware.ReservationMiddleware’ in MIDDLEWARE
MIDDLEWARE = [ ... 'djreservation.middleware.ReservationMiddleware' ]
Configure your email settings
DEFAULT_FROM_EMAIL = "firstname.lastname@example.org" EMAIL_HOST = "localhost" EMAIL_PORT = "1025"
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
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
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django-reservation-0.2.9.tar.gz (56.8 kB)||File type Source||Python version None||Upload date||Hashes View|