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
Post a Comment