Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/y/PyRM-HEAD/pyrm/PyLucid_stuff/PyRM_plugin/PyRM_plugin.py   PyRM(Download)
 
# PyRM plugin
from PyLucid.plugins_external.PyRM_plugin.forms import CreateBillForm
 
if "PyRM" not in settings.INSTALLED_APPS:
        if self.request.method == 'POST':
            #self.page_msg(self.request.POST)
            form = CreateBillForm(self.request.POST)
            if form.is_valid():
                form_data = form.cleaned_data
                    return self._save_new_bill(form_data)
        else:
            form = CreateBillForm()
 
        context["form"] = form