can introspect the Model class to see that the displayed field is
a valid model field and turn on your sort option if it is a model
field. You said it all in your subject line: you want an admin like
list view. The best place to start is to look into how the admin does
it.
-RD
--~--~-
Hi!
I am developing a django app, which will be installed at multiple
places with different configuration.
It has some models, and list views.
I store in a config dict the fields/methods to be displayed, and I'd
like to offer sorting (automagically for all fields, where possible).
My big proble
2 matches
Mail list logo