We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f69581 commit 5ce50c0Copy full SHA for 5ce50c0
docs/create_custom_permission.txt
@@ -51,9 +51,8 @@ permission is True or False::
51
example an object which also evluates to True, we highly advise to only
52
return booleans.
53
54
-Custom permissions are not necessary related to a model, you can define more
55
-simpler permissions too. For example, return True if it's between 10 and 12
56
-o'clock::
+Custom permissions are not necessary related to a model, you can define simpler
+permissions too. For example, return True if it's between 10 and 12 o'clock::
57
58
def datetime_check(self):
59
hour = int(datetime.datetime.now().strftime("%H"))
0 commit comments