Skip to main content

a django library manager

Project description

Django Library RESTful API

project description

A django app RESTful api to manage multiple libraries concurrently.

  1. Can add many library
  2. Book shelves can be added to any library with a specific number
  3. Lending books from libraries to one user can be managed

About

This is a RESTful api to manage multiple libraries that borrow book to user. the admin.py create good django adminstration for library that you can:

  1. Search name , author or user that borrow book
  2. Filter author of books
  3. Search book and library between list of shelves
  4. Filter shelves of specific library
  5. Search Library in specific city
  6. Look for which library has a specific book
  7. Filter borrows list with borrow date and give back date

Installation

Install using pip::

pip install djangorestframework
pip install django-library-restful
  1. Add "polls" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'django_library_restful', ]

  2. Include the library URLconf in your project urls.py like this::

from django.urls import path, include
from django_library_restfull.router import bookstore_api_router

urlpatterns = [
    path('api/library/', include(bookstore_api_router.urls))
]    
  1. Run python manage.py makemigrations django_library_restfull to create the sql.

  2. Run python manage.py migrate to create the polls models.

  3. Use library api

License

Uses the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_library_restful-0.0.11.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

django_library_restful-0.0.11-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page