diff options
author | 2019-04-25 20:37:42 +0200 | |
---|---|---|
committer | 2019-04-25 20:37:42 +0200 | |
commit | 3ddff3f1b3ccb2e023859a64c1f453b5916d1755 (patch) | |
tree | 92b156f9cccae71e8c79ed2c356fcd40fc9e4d1b /pydis_site/apps/api/views.py | |
parent | Adding initial tests for nomination endpoint (diff) | |
parent | Merge pull request #215 from gdude2002/django+192/flake8-docstrings (diff) |
Resolving merge conflict with master
Diffstat (limited to 'pydis_site/apps/api/views.py')
-rw-r--r-- | pydis_site/apps/api/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py index c529da0f..c7dbf5c8 100644 --- a/pydis_site/apps/api/views.py +++ b/pydis_site/apps/api/views.py @@ -58,8 +58,10 @@ class RulesView(APIView): @staticmethod def _format_link(description, link, target): """ - Build the markup necessary to render `link` with `description` - as its description in the given `target` language. + Build the markup for rendering the link. + + This will render `link` with `description` as its description in the given + `target` language. Arguments: description (str): |