I
I
Ilya2015-01-27 23:30:56
Django
Ilya, 2015-01-27 23:30:56

How to approach creating formsets in angularjs?

I am using django-rest-framework.
I can not properly formulate the question, so even for a tip in Google I will be grateful.
There are 2 models, one refers to another, through ForeignKey. How to organize the output: through a loaded template or through directives? Or maybe there are best practices and all that? You can link to the github with something similar.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksei Podgaev, 2015-02-05
@alexiusp

This is too general a question.
It all depends on how you imagine the interface, what you want to get in the end.
Do you need, for example, the ability to edit data in entities, or do you only need a display output?
Most likely it should be a master/detail list or a list with a filter. Depends on your entities. Again, now it is fashionable to present everything not with a list, but with cards, a-la Facebook.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question