pawnhearts / django_vue_generator

Generates vue frontend for django rest framework projects: forms for your serializers with validation, methods to call apis with vue-resource.
85 stars 10 forks source link

bugfix with DemoApp.vue #2

Open x-xz opened 4 years ago

x-xz commented 4 years ago

Awesome work! I change some bugs in DemoApp.vue at frontend, where the Publisher and Book components had bugs. Now you could execute run.sh in shell and didn't show error at build stage. However, the Books form has errors when submit data on page http://127.0.0.1:8000/

{ "non_field_errors": [ "Expected a list of items but got type \"str\"." ] }Books
[ { "title": [ "Tag with this title already exists." ] } ]Tags
pawnhearts commented 4 years ago

Hi. I were making a lot of changes recently and had no time to test everything properly.

pawnhearts commented 4 years ago

run.sh actually worked fine for me. but there was a problem with saving nested fields. I've disabled them for now in demo app