Skip to content
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

use HTML JSON form style for wq.db.patterns.serializers #33

Closed
sheppard opened this issue Mar 20, 2015 · 0 comments · Fixed by #34
Closed

use HTML JSON form style for wq.db.patterns.serializers #33

sheppard opened this issue Mar 20, 2015 · 0 comments · Fixed by #34

Comments

@sheppard
Copy link
Member

Replace the current naming convention with a more standard and flexible format based on the HTML JSON Forms spec. For example,

<input name="annotation-123-value" value="Example">

will become

<input name="annotations[0][value]" value="Example">
<input name="annotations[0][type_id]" value="123">

Support for HTML JSON Forms is being implemented in DRF core: see tomchristie/django-rest-framework#2148 and encode/django-rest-framework#2682.

sheppard added a commit that referenced this issue Mar 25, 2015
sheppard added a commit to wq/wq.app that referenced this issue Mar 25, 2015
@sheppard sheppard mentioned this issue Sep 18, 2015
42 tasks
sheppard added a commit that referenced this issue Jan 8, 2016
 - remove admin code (fixes #38)
 - remove "classic" form style (#33)
 - use nested representation instead of registering directly (fixes #46)
sheppard added a commit that referenced this issue Jan 9, 2016
 - remove admin code (fixes #38)
 - remove "classic" form style (#33)
 - use nested representation instead of registering directly (fixes #46)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant