Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/i/o/ionyweb-0.3/ionyweb/administration/views/website.py   ionyweb(Download)
from ionyweb.administration.utils import MESSAGES
from ionyweb import VERSION_INFO as IONYWEB_VERSION
from ionyweb.website.forms import (Website_AnalyticsForm, 
                                  Website_ReferencementForm,
                                  DomainWAForm)
    def get(self, request):
        form = Website_ReferencementForm(instance=request.website)
 
        html = render_to_string('administration/website/referencement.html',
                                {'form': form,},
    def post(self, request):
 
        form = Website_ReferencementForm(request.POST, instance=request.website)
 
        if form.is_valid():

src/i/o/ionyweb-HEAD/ionyweb/administration/views/website.py   ionyweb(Download)
from ionyweb.administration.utils import MESSAGES
from ionyweb import VERSION_INFO as IONYWEB_VERSION
from ionyweb.website.forms import (Website_AnalyticsForm, 
                                  Website_ReferencementForm,
                                  DomainWAForm)
    def get(self, request):
        form = Website_ReferencementForm(instance=request.website)
 
        html = render_to_string('administration/website/referencement.html',
                                {'form': form,},
    def post(self, request):
 
        form = Website_ReferencementForm(request.POST, instance=request.website)
 
        if form.is_valid():