diff --git a/README.md b/README.md index 76eee05..40bbb6e 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ class AsyncView(APIView): return await serializer.adata ``` -# Async generics +# Async Generics models.py diff --git a/adrf/shortcuts.py b/adrf/shortcuts.py index cc1a58e..7c27cab 100644 --- a/adrf/shortcuts.py +++ b/adrf/shortcuts.py @@ -4,7 +4,7 @@ try: from django.shortcuts import aget_object_or_404 except ImportError: - # NOTE aget_object_or_404 defined since Django 5. + # NOTE aget_object_or_404 is defined since Django 5. # This function will be removed when support for Django 4 is dropped. async def aget_object_or_404(klass, *args, **kwargs): """See get_object_or_404().""" diff --git a/adrf/utils.py b/adrf/utils.py index a8a49c8..97c0447 100644 --- a/adrf/utils.py +++ b/adrf/utils.py @@ -1,7 +1,7 @@ import inspect -# NOTE This function has been taken from the python library and modified +# NOTE This function was taken from the python library and modified # to allow an exclusion list and avoid recursion errors. def getmembers(object, predicate, exclude_names=[]): results = []