Django Frontend Edit

Django Frontend Edit was created to add “add” and “delete” frontend functions for mezzanine apps but it works with any type of model.

It provides a clean and neater way of adding frontend adding and deleting functionality. It used django permissions model to determine if a user can perform the frontend actions. It is especially good for quickly prototyping an app.

You can quickly provide adding and delete functions to a todo app, for example, using the template code below:

         {# This will render a nice ajax form for adding new items #}

{% can_add object_list text %}
          {% for todoitem in object_list %}
                 {{ todoitem.text }}
                 {% can_delete todoitem %}
           {% endfor %}
{% endcan_add %} 

Check out the example in the repo