Skip to content

Instantly share code, notes, and snippets.

@kmlebedev
kmlebedev / gist:38f401d7c68fb74a58cb
Created October 13, 2015 19:20 — forked from joshcartme/gist:5130702
Mezzanine Form ajax processing
# template tag
from mezzanine import template
from mezzanine.forms.forms import FormForForm
from mezzanine.pages.models import Page
register = template.Library()
@register.as_tag
def form_from_page(slug):