Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
255bd4e4
Unverified
Commit
255bd4e4
authored
6 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Add stub for a custom User model.
parent
5185561e
No related branches found
Branches containing commit
Tags
2.0rc7
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
biscuit/core/models.py
+7
-0
7 additions, 0 deletions
biscuit/core/models.py
biscuit/core/settings.py
+2
-0
2 additions, 0 deletions
biscuit/core/settings.py
with
9 additions
and
0 deletions
biscuit/core/models.py
0 → 100644
+
7
−
0
View file @
255bd4e4
from
django.contrib.auth.models
import
AbstractUser
from
django.db
import
models
class
Person
(
AbstractUser
):
pass
\ No newline at end of file
This diff is collapsed.
Click to expand it.
biscuit/core/settings.py
+
2
−
0
View file @
255bd4e4
...
...
@@ -102,3 +102,5 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL
=
'
/static/
'
AUTH_USER_MODEL
=
'
biscuit.core.models.Person
'
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