Skip to main content

Django integration for restible library

Project description

restible-django is a library that provides django integration with restible. It includes the base resource class DjangoResource that can be used to define REST resources based on django model definitions along with DjangoEndpoint class that integrates restible with django routing.

Installation

$ pip install restible-django

Contributing

Setting up development repo

$ git clone git@github.com:novopl/restible-django.git
$ cd restible-django
$ virtualenv env
$ source ./env/bin/activate
# python setup.py develop
$ pip install -r ops/devrequirements.txt
$ peltak git add-hooks

Running tests

Config: The types of tests are defined in pelconf.py and the pytest configuration is defined in ops/tools/pytest.ini.

$ peltak test

Linting

Config: The list of locations to lint is defined in pelconf.py and the linters configuration is defined in ops/tools/{pylint,pep8}.ini.

$ peltak lint

Generating docs

Config: The list of documented files and general configuration is in pelconf.py and the Sphinx configuration is defined in docs/conf.py.

$ peltak docs

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

restible-django-0.1.1.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file restible-django-0.1.1.tar.gz.

File metadata

  • Download URL: restible-django-0.1.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for restible-django-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00e2cf7013bc26c2b380cc349b0777868c09591d57d2e2bebe846528e613e9ff
MD5 68d2ae87b2aa889f83bc1e17e0bacb62
BLAKE2b-256 3e24b0a4fcd52244f4d120a0a275deaec7c483f7d8f239c41ed4b74f87bfcfe6

See more details on using hashes here.

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