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

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

src/k/n/kninfra-HEAD/kn/subscriptions/views.py   kninfra(Download)
from kn.leden.date import date_to_dt
import kn.subscriptions.entities as subscr_Es
from kn.subscriptions.forms import get_add_event_form
 
@login_required
                not _id(e.owner) == request.user._id:
            raise PermissionDenied
    AddEventForm = get_add_event_form(request.user, superuser)
    if request.method == 'POST':
        form = AddEventForm(request.POST)