SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
c92569e6
Commit
c92569e6
authored
6 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Patches
Plain Diff
Undo new AbstractUser
parent
87b4558c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scipost/models.py
+0
-6
0 additions, 6 deletions
scipost/models.py
with
0 additions
and
6 deletions
scipost/models.py
+
0
−
6
View file @
c92569e6
...
@@ -10,7 +10,6 @@ import string
...
@@ -10,7 +10,6 @@ import string
from
django.core.urlresolvers
import
reverse
from
django.core.urlresolvers
import
reverse
from
django.conf
import
settings
from
django.conf
import
settings
from
django.contrib.auth
import
get_user_model
from
django.contrib.auth
import
get_user_model
from
django.contrib.auth.models
import
AbstractUser
from
django.contrib.postgres.fields
import
ArrayField
from
django.contrib.postgres.fields
import
ArrayField
from
django.db
import
models
from
django.db
import
models
from
django.utils
import
timezone
from
django.utils
import
timezone
...
@@ -37,11 +36,6 @@ def get_sentinel_user():
...
@@ -37,11 +36,6 @@ def get_sentinel_user():
return
Contributor
.
objects
.
get_or_create
(
status
=
DISABLED
,
user
=
user
)[
0
]
return
Contributor
.
objects
.
get_or_create
(
status
=
DISABLED
,
user
=
user
)[
0
]
class
User
(
AbstractUser
):
class
Meta
:
db_table
=
'
auth_user
'
class
Contributor
(
models
.
Model
):
class
Contributor
(
models
.
Model
):
"""
A Contributor is an academic extention of the User model.
"""
A Contributor is an academic extention of the User model.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment