Skip to content

Commit

Permalink
made compatible with DRF 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Mundt committed Sep 13, 2019
1 parent 17d691f commit 88a76fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drf_nested_routing/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def register(self, *args, **kwargs):
self._register(*args, **kwargs)
return NestedRegistryItem(router=self, parent_prefix=self.registry[-1][0])

def get_api_root_view(self):
def get_api_root_view(self, schema_urls=None):
"""
Return a view to use as the API root.
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
packages=find_packages(exclude=['tests*']),
install_requires=[
'django>=1.6',
'djangorestframework>=3.0.0',
'djangorestframework>=3.4.0',
],
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit 88a76fe

Please sign in to comment.