From 731ff9482ecae7b5293bcfe1512389efd7f17571 Mon Sep 17 00:00:00 2001 From: kosayoda Date: Wed, 24 Mar 2021 13:22:57 +0800 Subject: Improve phrasing and wording of documentation. --- pydis_site/apps/content/views/page_category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_site/apps/content/views') diff --git a/pydis_site/apps/content/views/page_category.py b/pydis_site/apps/content/views/page_category.py index 7e04e2f3..7e8fe07d 100644 --- a/pydis_site/apps/content/views/page_category.py +++ b/pydis_site/apps/content/views/page_category.py @@ -19,7 +19,7 @@ class PageOrCategoryView(TemplateView): return super().dispatch(request, *args, **kwargs) def get_template_names(self) -> t.List[str]: - """Checks does this use page template or listing template.""" + """Checks if the view uses the page template or listing template.""" if self.full_location.is_dir(): template_name = "content/listing.html" elif self.full_location.with_suffix(".md").is_file(): -- cgit v1.2.3