Comments (4)
ModelSerializer is not currently supported. I would certainly review and merge a PR adding it though =)
from django-rest-marshmallow.
I'd like to have a go at this, but I am very new to Python, Django and Marshmallow o_O
However, would I be correct in thinking implementing it would be along the lines of the marshmallow-sqlalchemy ModelSchema
implementation? https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/dev/src/marshmallow_sqlalchemy/schema.py
There are no contributing guidelines for this repo, but can I assume they are the same as the marshmallow_sqlalchemy ones? https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/dev/CONTRIBUTING.rst
from django-rest-marshmallow.
Thanks for offering to work on this! Yes, I think it will look along the lines of marshmallow-sqlalchemy. It's probably also worth looking at the implementation of ModelSerializer in DRF.
The contributing guidelines for this project should match the other marshmallow libs.
from django-rest-marshmallow.
I'd highly appreciate this as well!
from django-rest-marshmallow.
Related Issues (19)
- KWarg Partial is not passed to Schema at init HOT 1
- Marsh 3.0.0: TypeError: validate_count() got an unexpected keyword argument 'partial' HOT 1
- support for fields.Dict() HOT 2
- Serializing Date field in django-rest-marshmallow results in an error HOT 5
- Nested field throwing errors HOT 2
- Marshmallow 3.0.1 - 'NoneType' object has no attribute 'opts' HOT 17
- PIP dependencies don't seem to list marshmallow. HOT 4
- Add Azure Pipeline and add webhook to github HOT 8
- Transfer to marshmallow-code? HOT 12
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- fields.Pluck does not work as expected
- Nested schema for Many To Many relations HOT 1
- Serializer context is not supported HOT 1
- support for json-api HOT 1
- How to use same schema for both Django and non-Django code? HOT 4
- get_attribute() takes exactly 2 arguments (4 given) HOT 2
- fields.Nested() with many=True HOT 2
- RelatedManager and Nested field
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-rest-marshmallow.