Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
42d2fa7e
Commit
42d2fa7e
authored
Mar 03, 2020
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adopted same decorator pattern as used in the trades app
parent
9b3f64bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bookshare/core/admin.py
bookshare/core/admin.py
+1
-1
No files found.
bookshare/core/admin.py
View file @
42d2fa7e
...
...
@@ -3,8 +3,8 @@ from django.contrib import admin
# imports from your apps
from
.models
import
Student
,
Course
@
admin
.
register
(
Student
)
class
StudentAdmin
(
admin
.
ModelAdmin
):
list_display
=
(
'__str__'
,
'created'
)
admin
.
site
.
register
(
Student
,
StudentAdmin
)
admin
.
site
.
register
(
Course
)
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