Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-openid-auth
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
OpenEdx
django-openid-auth
Commits
f021cc23
Commit
f021cc23
authored
Aug 29, 2014
by
Natalia Bidart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed debug print.
parent
e97268fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
django_openid_auth/migrations/0002_add_perm_account_verified.py
+0
-2
No files found.
django_openid_auth/migrations/0002_add_perm_account_verified.py
View file @
f021cc23
...
@@ -11,11 +11,9 @@ class Migration(DataMigration):
...
@@ -11,11 +11,9 @@ class Migration(DataMigration):
ct
,
created
=
orm
[
'contenttypes.ContentType'
]
.
objects
.
get_or_create
(
ct
,
created
=
orm
[
'contenttypes.ContentType'
]
.
objects
.
get_or_create
(
model
=
'useropenid'
,
app_label
=
'django_openid_auth'
,
model
=
'useropenid'
,
app_label
=
'django_openid_auth'
,
defaults
=
dict
(
name
=
'user open id'
))
defaults
=
dict
(
name
=
'user open id'
))
print
'
\n\n
===created'
,
created
perm
,
created
=
orm
[
'auth.permission'
]
.
objects
.
get_or_create
(
perm
,
created
=
orm
[
'auth.permission'
]
.
objects
.
get_or_create
(
content_type
=
ct
,
codename
=
'account_verified'
,
content_type
=
ct
,
codename
=
'account_verified'
,
defaults
=
dict
(
name
=
u'The OpenID account has been verified'
))
defaults
=
dict
(
name
=
u'The OpenID account has been verified'
))
print
'
\n\n
===created'
,
created
def
backwards
(
self
,
orm
):
def
backwards
(
self
,
orm
):
"Write your backwards methods here."
"Write your backwards methods here."
...
...
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