Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed May 24, 2024
1 parent e8dba36 commit 43697db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion djangocms_rest/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ class APIView(DRFAPIView):


class LanguageList(APIView):
"""List of languages available for the site."""
"""
List of languages available for the site. For each language the API returns the
link to the list of pages for that languages.
"""

def get(self, request, format=None):
languages = get_languages().get(get_current_site(request).id, None)
Expand Down

0 comments on commit 43697db

Please sign in to comment.