a0503d0c53
K-Psul - Basket refactor - Almost done. ModelForest - Add create method (based on previous get_or_create). Direction defaults to 0. - Add delete method. - Methods find, traverse, update, delete can also take a model (class) as first argument. String representation of model still works. - Fix child linking to parent in create method. ModelForest -> ForestDisplay - (One-way data binding) Changes on a ModelForest are directly reflected on listening ForestDisplay(s). - ArticleManager and KHistory become simpler. Config - Add addcost key, shorthand for double addcost keys check. K-Psul - Improve display for basket summary and previous operation. - Clean js code / duplicates. - Some components gains chance to trigger/handle events. They are really happy. Eg basket amounts and summary are updated thanks to these events if the selected account is changed. Formatters - Fixes addcost and amount display. History - Fix options management (api_options were overrided and K-Psul displayed more than the last day history). - Fix data display, thanks to formatters fixes and modelforest fixes. |
||
---|---|---|
.. | ||
fixtures | ||
management/commands | ||
migrations | ||
static/kfet | ||
templates/kfet | ||
templatetags | ||
tests | ||
__init__.py | ||
admin.py | ||
apps.py | ||
autocomplete.py | ||
backends.py | ||
config.py | ||
consumers.py | ||
context_processors.py | ||
decorators.py | ||
forms.py | ||
middleware.py | ||
models.py | ||
routing.py | ||
signals.py | ||
statistic.py | ||
urls.py | ||
views.py |