Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Backend
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
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
swp-unisport
team-warumkeinrust
Backend
Commits
11d62eea
Commit
11d62eea
authored
3 years ago
by
fu2662cw
Browse files
Options
Downloads
Patches
Plain Diff
Fix Linter Issues in existing code
parent
ac8d3f81
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
unisportomat/quiz/admin.py
+2
-1
2 additions, 1 deletion
unisportomat/quiz/admin.py
unisportomat/quiz/apps.py
+3
-0
3 additions, 0 deletions
unisportomat/quiz/apps.py
unisportomat/quiz/views.py
+1
-1
1 addition, 1 deletion
unisportomat/quiz/views.py
with
6 additions
and
2 deletions
unisportomat/quiz/admin.py
+
2
−
1
View file @
11d62eea
"""
Here is the place to register the Models to be seen in the admin interface
"""
from
django.contrib
import
admin
# Register your models here.
from
.models
import
Sport
admin
.
site
.
register
(
Sport
)
This diff is collapsed.
Click to expand it.
unisportomat/quiz/apps.py
+
3
−
0
View file @
11d62eea
"""
Application Configuration for the quiz app
"""
from
django.apps
import
AppConfig
class
QuizConfig
(
AppConfig
):
"""
Application Config for the quiz app
"""
default_auto_field
=
'
django.db.models.BigAutoField
'
name
=
'
quiz
'
This diff is collapsed.
Click to expand it.
unisportomat/quiz/views.py
+
1
−
1
View file @
11d62eea
from
django.shortcuts
import
render
"""
Defines the views for the quiz app
"""
# Create your views here.
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