Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TDT4242 Spring 2021 – T17
tdt4242-T17
Commits
a431b00d
Commit
a431b00d
authored
Apr 15, 2021
by
Erlend Ydse
Browse files
Convert relative imports to absolute imports
parent
33c643a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
backend/secfit/comments/admin.py
View file @
a431b00d
from
django.contrib
import
admin
# Register your models here.
from
.models
import
Comment
from
comments
.models
import
Comment
admin
.
site
.
register
(
Comment
)
backend/secfit/users/admin.py
View file @
a431b00d
...
...
@@ -2,8 +2,8 @@ from django.contrib import admin
from
django.contrib.auth
import
get_user_model
from
django.contrib.auth.admin
import
UserAdmin
from
.forms
import
CustomUserChangeForm
,
CustomUserCreationForm
from
.models
import
AthleteFile
,
Offer
from
users
.forms
import
CustomUserChangeForm
,
CustomUserCreationForm
from
users
.models
import
AthleteFile
,
Offer
# Register your models here.
...
...
Write
Preview
Supports
Markdown
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