Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wooyek/dinja2
Jinja2 template backend for Django
https://github.com/wooyek/dinja2
django django-templates jinja2
Last synced: about 1 month ago
JSON representation
Jinja2 template backend for Django
- Host: GitHub
- URL: https://github.com/wooyek/dinja2
- Owner: wooyek
- License: mit
- Created: 2017-07-20T14:09:35.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2017-07-20T14:11:44.000Z (over 7 years ago)
- Last Synced: 2024-10-12T07:33:58.342Z (2 months ago)
- Topics: django, django-templates, jinja2
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
=============================
Dinja2
=============================.. image:: https://badge.fury.io/py/dinja2.svg
:target: https://badge.fury.io/py/dinja2.. image:: https://travis-ci.org/wooyek/dinja2.svg?branch=master
:target: https://travis-ci.org/wooyek/dinja2.. image:: https://codecov.io/gh/wooyek/dinja2/branch/master/graph/badge.svg
:target: https://codecov.io/gh/wooyek/dinja2Jinja2 template backend for Django
Documentation
-------------The full documentation is at https://dinja2.readthedocs.io.
Quickstart
----------Install Dinja2::
pip install dinja2
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'dinja2.apps.Dinja2Config',
...
)Add Dinja2's URL patterns:
.. code-block:: python
from dinja2 import urls as dinja2_urls
urlpatterns = [
...
url(r'^', include(dinja2_urls)),
...
]Features
--------* TODO
Running Tests
-------------Does the code actually work?
::
source /bin/activate
(myenv) $ pip install tox
(myenv) $ toxCredits
-------Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage