I
I
Ilya2014-12-08 21:29:20
Django
Ilya, 2014-12-08 21:29:20

How to implement adding multiple new ForeignKey objects?

I would like it to be the same as in the standard admin panel when going through the tutorial on the off page of the junga. Right here .
Just click "add" and you're good to go.
But only the implementation is not in the admin panel, but for visitors. Maybe there are some libraries? Or in which direction to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav, 2014-12-08
@FireGM

In fact, you just need to create a page with a form and open it in a separate window. Here, in the direction of Js and ajax, you should dig.
You can see how this is implemented in the jang itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question