Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90721191
serializers.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
Mon, Nov 4, 04:17
Size
369 B
Mime Type
text/x-python
Expires
Wed, Nov 6, 04:17 (2 d)
Engine
blob
Format
Raw Data
Handle
22124881
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
serializers.py
View Options
from
rest_framework
import
serializers
from
.models
import
Journal
,
Issn
class
JournalSerializer
(
serializers
.
ModelSerializer
):
issn
=
serializers
.
StringRelatedField
(
many
=
True
)
class
Meta
:
model
=
Journal
fields
=
'__all__'
class
IssnSerializer
(
serializers
.
ModelSerializer
):
class
Meta
:
model
=
Issn
fields
=
'__all__'
Event Timeline
Log In to Comment