{ "info": { "author": "Daniel Kaufhold", "author_email": "daniel.kaufhold.com", "bugtrack_url": null, "classifiers": [], "description": "Django Booking\n==============\n\nA reusable Django app that manages bookings for various purposes.\n\nInstallation\n------------\n\nTo get the latest stable release from PyPi\n\n.. code-block:: bash\n\n $ pip install django-booking\n\nTo get the latest commit from GitHub\n\n.. code-block:: bash\n\n $ pip install -e git+git://github.com/bitmazk/django-booking.git#egg=booking\n\nTODO: Describe further installation steps (edit / remove the examples below):\n\nAdd ``booking`` to your ``INSTALLED_APPS``\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...,\n 'booking',\n )\n\nAdd the ``booking`` URLs to your ``urls.py``\n\n.. code-block:: python\n\n urlpatterns = patterns('',\n ...\n url(r'^booking/', include('booking.urls')),\n )\n\nDon't forget to migrate your database\n\n.. code-block:: bash\n\n ./manage.py migrate booking\n\n\nUsage\n-----\n\nIf you allow anonymous bookings, the session object is stored within the\nbooking model. Otherwise it will be connected to the User model.\n\nNOTE: If a session is destroyed, the connected booking model will also be\nremoved.\n\nIn order to allow login via email and booking ID, please add this to your\n``AUTHENTICATION_BACKENDS``::\n\n AUTHENTICATION_BACKENDS = (\n # your usual auth backends\n 'booking.auth_backends.BookingIDBackend',\n )\n\nAt the moment you will have to write a new view that will render the\n``booking.forms.BookingIDAuthenticationForm``. If the form is valid, your\nview should call ``auth_login(request, form.get_user())``, similar to Django's\noriginal login view.\n\nSettings\n--------\n\nBOOKING_STATUS_CREATED\n++++++++++++++++++++++\n\nDefault: 'pending'\n\nSlug of the ``BookingStatus``, which should be added after booking creation.\n\nBOOKING_TIME_INTERVAL\n+++++++++++++++++++++\n\nDefault: ''\n\nThe default value for the ``time_unit`` attribute of the Booking. Set it in\ncase you need to specify that you want to book something e.g. X days or Y\nhours. Set it to the singular of that time unit:::\n\n BOOKING_TIME_INTERVAL = 'day'\n\n\nError logging\n+++++++++++++\n\nIn case you want to add error logging especially for booking processes, we\nprovide a ``BookingError`` model, in which you can store:\n\n+-------------+--------------------------------------------------------------------------+\n| ``booking`` | (FK to Booking - required) The booking during this error occurred. |\n+-------------+--------------------------------------------------------------------------+\n| ``message`` | (Char) The short error message, that you need to store. |\n+-------------+--------------------------------------------------------------------------+\n| ``details`` | (Text) A more in depth text about the error or any kind of additional |\n| | information, e.g. a traceback. |\n+-------------+--------------------------------------------------------------------------+\n\n\nContribute\n----------\n\nIf you want to contribute to this project, please perform the following steps\n\n.. code-block:: bash\n\n # Fork this repository\n # Clone your fork\n mkvirtualenv -p python2.7 django-booking\n make develop\n\n git co -b feature_branch master\n # Implement your feature and tests\n git add . && git commit\n git push -u origin feature_branch\n # Send us a pull request for your feature branch\n\nIn order to run the tests, simply execute ``tox``. This will install two new\nenvironments (for Django 1.8 and Django 1.9) and run the tests against both\nenvironments.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bitmazk/django-booking", "keywords": "django,app,reusable,booking", "license": "The MIT License", "maintainer": null, "maintainer_email": null, "name": "django-booking", "package_url": "https://pypi.org/project/django-booking/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-booking/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bitmazk/django-booking" }, "release_url": "https://pypi.org/project/django-booking/0.7.2/", "requires_dist": null, "requires_python": null, "summary": "A reusable Django app that manages bookings for various purposes.", "version": "0.7.2" }, "last_serial": 2070873, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "5bb3913be916b17873310a32287dafd5", "sha256": "796d696abbe424b563ecd8f88b43604de3ee8d7f747ce9c987c0db33f70cfb43" }, "downloads": -1, "filename": "django-booking-0.2.tar.gz", "has_sig": false, "md5_digest": "5bb3913be916b17873310a32287dafd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14096, "upload_time": "2013-09-10T06:34:11", "url": "https://files.pythonhosted.org/packages/4e/8c/1437d7380c6c6456f46305d3a1bb15452aaea2e340981086cac21d9c5f24/django-booking-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "657de7f5c3a267b8478e0b7a749fe7a7", "sha256": "0074d25336786605fda27e9f8017c81289ebd70c7df368fa4db63e1ef6820aae" }, "downloads": -1, "filename": "django-booking-0.3.tar.gz", "has_sig": false, "md5_digest": "657de7f5c3a267b8478e0b7a749fe7a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14911, "upload_time": "2013-09-10T18:00:59", "url": "https://files.pythonhosted.org/packages/d6/52/44ab38ac1e02872a80628e45b485aaf76acf3ca784d68ea6959c59df0b82/django-booking-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "7254879f94e6503ca68e17dac609a972", "sha256": "4f55171239ff24a9900e6108a3fbf2d8fa1b535a22b24fac558d5e8d6d7f80e2" }, "downloads": -1, "filename": "django-booking-0.4.tar.gz", "has_sig": false, "md5_digest": "7254879f94e6503ca68e17dac609a972", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15701, "upload_time": "2013-09-12T07:35:10", "url": "https://files.pythonhosted.org/packages/e0/08/87ffa6ab5225d3dc3094ca3525224ab15d1a70e604beaf26094a94fb95d7/django-booking-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "86d05b62455c8afdc74d647364044718", "sha256": "7a107cc05c28f47dbd79efe135841e489c3215fd5db0b28b006eec9abd9d1fa5" }, "downloads": -1, "filename": "django-booking-0.5.tar.gz", "has_sig": false, "md5_digest": "86d05b62455c8afdc74d647364044718", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16238, "upload_time": "2013-12-04T15:00:17", "url": "https://files.pythonhosted.org/packages/fd/02/8c964e2de3937852031d4a1935b7591fbbb22cbc5885708049b154a71428/django-booking-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "6e4109ae3defbed766512882ddad9f68", "sha256": "2ea66f51fa1a4a1eb97dea92ebf9b09eb97587d3ab04ffba4429f041614e663c" }, "downloads": -1, "filename": "django-booking-0.6.tar.gz", "has_sig": false, "md5_digest": "6e4109ae3defbed766512882ddad9f68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17483, "upload_time": "2013-12-28T16:49:49", "url": "https://files.pythonhosted.org/packages/b3/75/1098152fa8bd73d0fcd2eb6eaa486412d39c4ee4ecf01c6a01dff98a7984/django-booking-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "2800ffbc379cf4c6a3378cdffd0cadb2", "sha256": "13f3d65ef0b70162c1e2306b97d3c7c94930f53dc38a3e2394e65ef91405c70b" }, "downloads": -1, "filename": "django-booking-0.7.tar.gz", "has_sig": false, "md5_digest": "2800ffbc379cf4c6a3378cdffd0cadb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17897, "upload_time": "2014-01-16T10:42:32", "url": "https://files.pythonhosted.org/packages/2a/fc/c0da7d0bbbdb499e7db351c85bb64d98578a887d7c8dc36ed2dfd3155d58/django-booking-0.7.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "ca94b23e1520bb46213e29acbef21a77", "sha256": "8e6b0889832c1347bf7a78457454128ab9b6fbb5d1956be86394ed49e5bb9e2e" }, "downloads": -1, "filename": "django-booking-0.7.1.tar.gz", "has_sig": false, "md5_digest": "ca94b23e1520bb46213e29acbef21a77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17683, "upload_time": "2015-01-20T19:07:01", "url": "https://files.pythonhosted.org/packages/d1/bf/43ebcfe2e5112c6b0a1817ff5b1d985fcc74c3112faca999d6075ce5f0c4/django-booking-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "4e8bc18c0f98ce598b74cec874c26bb1", "sha256": "ac033aa1e878cd5920defa207ef3b4c3bf5ae4e31004e27e0521f1161fc10557" }, "downloads": -1, "filename": "django-booking-0.7.2.tar.gz", "has_sig": false, "md5_digest": "4e8bc18c0f98ce598b74cec874c26bb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18074, "upload_time": "2016-04-19T07:02:34", "url": "https://files.pythonhosted.org/packages/e8/18/5075bcafad3a31777bc3dc078cd8b87a0215b3631e5ef5631cfc798513b6/django-booking-0.7.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e8bc18c0f98ce598b74cec874c26bb1", "sha256": "ac033aa1e878cd5920defa207ef3b4c3bf5ae4e31004e27e0521f1161fc10557" }, "downloads": -1, "filename": "django-booking-0.7.2.tar.gz", "has_sig": false, "md5_digest": "4e8bc18c0f98ce598b74cec874c26bb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18074, "upload_time": "2016-04-19T07:02:34", "url": "https://files.pythonhosted.org/packages/e8/18/5075bcafad3a31777bc3dc078cd8b87a0215b3631e5ef5631cfc798513b6/django-booking-0.7.2.tar.gz" } ] }