10

I've noticed, that Django REST framework provides metadata for API endpoint http://www.django-rest-framework.org/api-guide/metadata/

Is there common way to generate forms in angularjs without writing a lot of code?

I've seen this article, but it looks like it's just allow annotate forms, not automatically generate it.

To make this question more specific: is there a way(or library) to generate HTML form with appropriate field types, "require" attributes validation from the Django REST framework HTTP OPTIONS output?

1 Answer 1

0

You can install django-rest-formly with npm, it help you generate angular-formly 's form configuration for your Django REST Framework endpoints

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.