Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
django-cas-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Samir
django-cas-server
Commits
f0c5839c
Commit
f0c5839c
authored
Aug 02, 2016
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo in templatetags docstrings
parent
d099fe40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cas_server/templatetags/cas_server.py
cas_server/templatetags/cas_server.py
+4
-4
No files found.
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
Markdown
is supported
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