Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78717068
admin.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 22, 14:10
Size
402 B
Mime Type
text/x-python
Expires
Sat, Aug 24, 14:10 (2 d)
Engine
blob
Format
Raw Data
Handle
20089831
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
admin.py
View Options
from
django.contrib
import
admin
from
.models
import
*
from
import_export.admin
import
ImportExportModelAdmin
# Register your models here.
##admin.site.register(Journal)
admin
.
site
.
register
(
Country
)
admin
.
site
.
register
(
Language
)
admin
.
site
.
register
(
Institution
)
admin
.
site
.
register
(
Funder
)
admin
.
site
.
register
(
Condition
)
@admin.register
(
Journal
)
class
JournalAdmin
(
ImportExportModelAdmin
):
pass
Event Timeline
Log In to Comment