HTML Views:Where are my classes gone?
Sebastien Mirolo@seabasscapoeira
Checkout pageWhat you see …
… How you do it
Transactions pageWhat you see …
… all the code we need
class TransactionListView( SearchableMixin, SortableMixin, ListAPIView):
search_fields = [ 'descr', 'orig_organization__full_name', 'dest_organization__full_name']
sort_fields_aliases = [ ('descr', 'description'), ('dest_amount', 'amount')]
ListCSVViewDownloadListVie
w
Mixins often lead to inheritance
DAGsPython Quiz:
1. How many times is the baseclass constructor called?
2. What order are constructors called?
Real life examples from djaodjin-saas
Thank YouSebastien Mirolo