Conversation
1d7896e to
74d640b
Compare
jforsman
left a comment
There was a problem hiding this comment.
Just check setdefault use, looks good otherwise.
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
1 similar comment
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
e32c08e to
158e919
Compare
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
1 similar comment
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
bafe7b7 to
9e4902a
Compare
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
1 similar comment
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
21f16c7 to
0547d99
Compare
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
…min classes The command examines fields, fieldsets, list_display and readonly_fields to determine what needs to be shown and introspects the relevant admin class and the model, along with the relevant related models to identify relations that can be added to select_related and prefetch_related calls for detail and list views. Model relations and relation chains are found automatically. For callable fields in admin classes and model classes, there is the possibility to decorate those with the @requires_fields or @requires_annotation decorators to enable the command to automatically extract the required relations for prefetch / select and annotation calls from those. Refs: LIIK-865
…izations, generate get_queryset functions Refs: LIIK-865
0547d99 to
cb6761e
Compare
|
CITYINFRA-API branch is deployed to platta: https://cityinfra-pr777.dev.hel.ninja 🚀🚀🚀 |
|



Test, for example, with
Also contains pytest tests