{% extends "admin/base_site.html" %} {% block head %} {% endblock %} {% block content %}

Define the pricing function.

{% csrf_token %} {% if form.errors %} {% for field in form %} {% for error in field.errors %}
{{ error|escape }}
{% endfor %} {% endfor %} {% for error in form.non_field_errors %}
{{ error|escape }}
{% endfor %} {% endif %}

List of available meters per resource.

{% for i in resources %} {% endfor %}
{{ pricing_func_form.func }}
{{ pricing_func_form.currency }}
{{ pricing_func_form.unit }}

The pricing function will be applied to the user with id:

{% endblock %}