Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Samir
django-cas-server
Commits
f0c5839c
Commit
f0c5839c
authored
Aug 02, 2016
by
Valentin Samir
Browse files
typo in templatetags docstrings
parent
d099fe40
Changes
1
Hide whitespace changes
Inline
Side-by-side
cas_server/templatetags/cas_server.py
View file @
f0c5839c
...
...
@@ -18,9 +18,9 @@ register = template.Library()
@
register
.
filter
(
name
=
'is_checkbox'
)
def
is_checkbox
(
field
):
"""
check i
s
a form bound field is a checkbox
check i
f
a form bound field is a checkbox
:param django.forms.
boundfield.
BoundField field: A bound field
:param django.forms.BoundField field: A bound field
:return: ``True`` if the field is a checkbox, ``False`` otherwise.
:rtype: bool
"""
...
...
@@ -30,9 +30,9 @@ def is_checkbox(field):
@
register
.
filter
(
name
=
'is_hidden'
)
def
is_hidden
(
field
):
"""
check i
s
a form bound field is hidden
check i
f
a form bound field is hidden
:param django.forms.
boundfield.
BoundField field: A bound field
:param django.forms.BoundField field: A bound field
:return: ``True`` if the field is hidden, ``False`` otherwise.
:rtype: bool
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment