test/data/uppered_rtype.py
author Christophe de Vienne <christophe@unlish.com>
Tue, 02 Sep 2014 10:30:28 +0200
changeset 9941 8dc1c96d29f1
parent 6873 2db631a3f205
permissions -rw-r--r--
[wsgi] Fix https detection - 'HTTPS' is not part of wsgi, it is a CGI variable. The right wsgi variable is 'wsgi.url_scheme' - Force https if url starts with '/https/' (and remove the prefix from the path. Closes #4305985


from yams.buildobjs import RelationDefinition

class ARelation(RelationDefinition):
    subject = 'CWUser'
    object = 'CWGroup'