Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

djula

2024-10-12

An implementation of Django templates for Common Lisp.

Upstream URL

github.com/mmontone/djula

Author

Nick Allen <nallen05@gmail.com>, Mariano Montone <marianomontone@gmail.com>

Maintainer

Eric Sessoms <eric@nubgames.com>, Mariano Montone <marianomontone@gmail.com>

License

MIT
README

Djula

Build Status Quicklisp MIT License

Djula is a port of Python's Django template engine to Common Lisp.

Nutshell

Here a small example of a template::


    {% extends "base.html" %}
    {% block title %}Memberlist{% endblock %}
    {% block content %}
      <ul>
      {% for user in users %}
        <li><a href="{{ user.url }}">{{ user.username }}</a></li>
      {% endfor %}
      </ul>
    {% endblock %}

Philosophy

Application logic is for the controller but don't try to make the life for the template designer too hard by giving him too few functionality.

For more information visit the documentation page.

Dependencies (18)

  • access
  • alexandria
  • babel
  • cl-locale
  • closer-mop
  • cl-parser-combinators
  • cl-ppcre
  • cl-slice
  • fiveam
  • gettext
  • hunchentoot
  • iterate
  • local-time
  • split-sequence
  • translate
  • trivial-backtrace
  • trivial-open-browser
  • uiop
  • GitHub
  • Quicklisp