django - Widget filling values in two fields -


I know that if I need a custom "selector" for a field in the DjuiceAdmin, then create a custom widget is required. But what if the widget has to create two values, for example, the X and Y coordinates, how can I fill them in the model from two different areas?

Janice Leadl had released a widget long time ago. As far as I remember, it took coordinates from a map and gave it an area and some javascript was cut into 2 coordinates for 2 areas.

It should work quite well with a custom


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -