mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
fix comment
This commit is contained in:
parent
d903b07ccf
commit
0800931a81
|
@ -46,7 +46,7 @@ class GenericAPIView(views.APIView):
|
||||||
# The style to use for queryset pagination.
|
# The style to use for queryset pagination.
|
||||||
pagination_class = api_settings.DEFAULT_PAGINATION_CLASS
|
pagination_class = api_settings.DEFAULT_PAGINATION_CLASS
|
||||||
|
|
||||||
# The database router classes to use as queryset aliases
|
# The database router classes to find the correct db alias for queryset
|
||||||
db_router_classes = api_settings.DEFAULT_DB_ROUTER_CLASSES
|
db_router_classes = api_settings.DEFAULT_DB_ROUTER_CLASSES
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user