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
d6391359
Commit
d6391359
authored
Mar 04, 2013
by
Stephan Groß
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fix migrate authtoken
parent
4cdb6b29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
docs/api-guide/settings.md
+0
-12
rest_framework/authtoken/migrations/0001_initial.py
+0
-2
rest_framework/settings.py
+0
-3
No files found.
docs/api-guide/settings.md
View file @
d6391359
...
...
@@ -174,16 +174,4 @@ The name of a parameter in the URL conf that may be used to provide a format suf
Default:
`'format'`
## REQUIRED_MIGRATIONS
This is a list of required migrations which are needed by the authtoken migration.
E.g.
(
('users', '0001_initial'),
)
Default:
`'()'`
[
cite
]:
http://www.python.org/dev/peps/pep-0020/
rest_framework/authtoken/migrations/0001_initial.py
View file @
d6391359
...
...
@@ -17,8 +17,6 @@ else:
class
Migration
(
SchemaMigration
):
depends_on
=
api_settings
.
REQUIRED_MIGRATIONS
def
forwards
(
self
,
orm
):
# Adding model 'Token'
db
.
create_table
(
'authtoken_token'
,
(
...
...
rest_framework/settings.py
View file @
d6391359
...
...
@@ -76,9 +76,6 @@ DEFAULTS = {
'URL_FORMAT_OVERRIDE'
:
'format'
,
'FORMAT_SUFFIX_KWARG'
:
'format'
,
# Authtoken
'REQUIRED_MIGRATIONS'
:
(),
}
...
...
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