File: __init__.py

package info (click to toggle)
python-django-rules 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: python: 1,613; makefile: 5; sh: 3
file content (24 lines) | stat: -rw-r--r-- 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from .permissions import add_perm, has_perm, perm_exists, remove_perm, set_perm  # noqa
from .predicates import (  # noqa
    Predicate,
    always_allow,
    always_deny,
    always_false,
    always_true,
    is_active,
    is_authenticated,
    is_group_member,
    is_staff,
    is_superuser,
    predicate,
)
from .rulesets import (  # noqa
    RuleSet,
    add_rule,
    remove_rule,
    rule_exists,
    set_rule,
    test_rule,
)

VERSION = (3, 5, 0, "final", 1)