Data Editing View and edit 'Olympiads' data Sadjcore Javascript-based Django data entry

Functionality Overview

This example processes updates via a dedicated api/updateOlympiads url and view in the sadjdemo code, providing a placeholder location for server code specific to this data type.

This pages only uses the hidden Django form in the frame, along with sadjcore javascript: the visible controls in the main page content do not include Django forms.
For a more Django-form-based approach see Add and Edit in Forms

Olympiads Data Edit, Copy and Delete Rows

Edit directly in-cell, press ENTER key to process updates immediately. You can also make multiple changes, then press the 'Save Changes' button which will be visible in the panel header when there are pending changes. Press ESC to cancel unsaved changes.
Pending changes are coloured yellow. When changes are successfully stored to the database they are coloured green.
ID Year Season City Duplicate Delete
51 1896 S Athina
4 1900 S Paris
45 1904 S St. Louis
41 1906 S Athina
47 1908 S London
14 1912 S Stockholm
3 1920 S Antwerpen
15 1924 S Paris
44 1924 W Chamonix
35 1928 S Amsterdam
46 1928 W Sankt Moritz
8 1932 S Los Angeles
49 1932 W Lake Placid
30 1936 S Berlin
50 1936 W Garmisch-Partenkirchen
17 1948 S London
48 1948 W Sankt Moritz
10 1952 S Helsinki
31 1952 W Oslo
33 1956 S Melbourne
32 1956 W Cortina d'Ampezzo
34 1960 S Roma
23 1960 W Squaw Valley
38 1964 S Tokyo
24 1964 W Innsbruck
27 1968 S Mexico City
40 1968 W Grenoble
28 1972 S Munich
42 1972 W Sapporo
36 1976 S Montreal
43 1976 W Innsbruck
37 1980 S Moskva
11 1980 W Lake Placid
26 1984 S Los Angeles
25 1984 W Sarajevo
29 1988 S Seoul
5 1988 W Calgary
1 1992 S Barcelona
6 1992 W Albertville
7 1994 W Lillehammer
13 1996 S Atlanta
18 1998 W Nagano
12 2000 S Sydney
9 2002 W Salt Lake City
22 2004 S Athina
19 2006 W Torino
20 2008 S Beijing
39 2010 W Vancouver
2 2012 S London
16 2014 W Sochi
21 2016 S Rio de Janeiro
The data used is from the Kaggle 120 years of Olympic history data set, published under a CC0 public domain license.