Skip to content

Helper library that can be used in combination with Django Class-Based views to create JSON APIs.

License

Notifications You must be signed in to change notification settings

rychlis/django-jsonis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Tomáš Rychlik
Nov 22, 2018
4312e1d · Nov 22, 2018

History

20 Commits
Jun 17, 2014
Apr 24, 2014
Apr 24, 2014
Apr 24, 2014
Nov 22, 2018
Jun 17, 2014

Repository files navigation

django-jsonis

Helper library that can be used in combination with Django Class-Based views to return JSON responses.

Warning: this is a work in progress, pending code refactoring and documentation

Warning 2: This repository is unmaintained, rather consider using something like Django REST Framework

Features

  • JSONApiResponseMixin providing render_api_response and render_api_error_response methods
  • Accept JSON request payload
  • JSONApiFormView that can be used for simple JSON APIs using django.forms
  • JSON Web token validation (custom django middleware&auth backend)
  • JSONTestClient providing utilities that can be used to test created APIs
  • Default JSONEncoder handling Decimal numbers
  • Simple jsonify template filter (add 'jsonis' to your application list in settings)

License

This software is licensed under MIT.

TODO

  • Examples!
  • Documentation
  • Code Cleanup
  • Tests

About

Helper library that can be used in combination with Django Class-Based views to create JSON APIs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages