@classmethod
    def create_instance(self, ar, **kw):
        obj = super(PanelEvents, self).create_instance(ar, **kw)
        if ar.current_project is not None:
            obj.project = settings.SITE.project_model.objects.get(
                pk=ar.current_project)
            #~ obj.state = EventStates.published
        # logger.info('20140402 create_instance %s ', obj)
        return obj
Generate a HMAC security hash from the provided info.
dataset/ETHPy150Open lsaffre/lino/lino/modlib/extensible/models.py/PanelEvents.create_instance--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/comments/forms.py/CommentSecurityForm.generate_security_hash