django-gesha

JavaScript utilities for Django projects.


Keywords
django, javascript, typescript, python
License
MIT
Install
pip install django-gesha==0.1a5

Documentation

django-gesha

Test Coverage Version Python Django

Documentation  •  Issue Tracker  •  Source


JavaScript utilities for Django projects.


Features:

  • Add context in Django views to be used in JavaScript functions.
  • Reverse URLs natively in JavaScript (equivalent to reverse() in Python and {% url %} in templates).
  • Written in TypeScript and fully-typed Python.

Getting started

To install and set up django-gesha in an existing Django project, see:

Starting a new Django project? Consider using django-gesha-template, which is pre-configured with django-gesha and a pipeline for TypeScript integration.

Contributing

See Contributing.

License

MIT.