Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
46a3eda0
Commit
46a3eda0
authored
Jan 19, 2015
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NotImplemented -> NotImplementedError
parent
0dffc46c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rest_framework/routers.py
+2
-2
No files found.
rest_framework/routers.py
View file @
46a3eda0
...
@@ -65,13 +65,13 @@ class BaseRouter(object):
...
@@ -65,13 +65,13 @@ class BaseRouter(object):
If `base_name` is not specified, attempt to automatically determine
If `base_name` is not specified, attempt to automatically determine
it from the viewset.
it from the viewset.
"""
"""
raise
NotImplemented
(
'get_default_base_name must be overridden'
)
raise
NotImplemented
Error
(
'get_default_base_name must be overridden'
)
def
get_urls
(
self
):
def
get_urls
(
self
):
"""
"""
Return a list of URL patterns, given the registered viewsets.
Return a list of URL patterns, given the registered viewsets.
"""
"""
raise
NotImplemented
(
'get_urls must be overridden'
)
raise
NotImplemented
Error
(
'get_urls must be overridden'
)
@property
@property
def
urls
(
self
):
def
urls
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment