-
-
Notifications
You must be signed in to change notification settings - Fork 31
Add support for Django models #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I've just fixed some minor issues, I think, that it's ready to be merged. A few questions related to Django support:
|
Hey, thanks for your contribution @mRokita!
I guess it's possible if you override a template and check if the current class is called "Meta" and has a Django model as parent.
Currently, no, but the plan is to do what is described in this comment (which you already read): serialize arbitrary objects' values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it's looking good 🙂
Just a few questions.
That would be a great improvement, any plans on splitting #64 into smaller tasks? |
Because of what I described here, I replaced |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
That's just basic support for now - supports blank and required attributes.
Looks like it works for my old university project (sorry for Polish verbose_names ;)
References: #39.