Matrix-type Django admin for two-dimensional data -


suppose have two-dimensional data model:

class a(models.model):     name = models.charfield()     # ... more metadata  class b(models.model):     name = models.charfield()     # ... more metadata  class value(models.model):     = models.foreignkey(a)     b = models.foreignkey(b)     value = models.integerfield() 

so normalized version of matrix of data:

    | a1 | a2 | a3 | a4   -----------------------  b1 | 5  | 9  | 2  | 1  b2 | 8  | 3  | 3  | 8  b3 | 4  | 9  | 5  | 7  b4 | 2  | 6  | 2  | 7 

is there way present matrix in django admin, such can edited in case many values in matrix need updated simultaneously?


Comments

Popular posts from this blog

Change the color of an oval at click in Java AWT -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -