Yacht Shaver
Yacht Shaver
https://github.com/dulacp/django-accounting/tree/master/tests
I think we're going to need separate structure for rendering/UI and for validation like them, what do you think? Also, they have nested forms, we might need that too ?
What else do we need to research besides graphene ? currently testing it on betagouv/mrs@graphene branch but not to the point where i can contribute to the research about it...
Yes, if we're not on [this kind of design](https://github.com/encode/django-rest-framework/blob/master/rest_framework/serializers.py#L839) then it might be possible ? Example: https://github.com/yourlabs/django-autocomplete-light/pull/983#issuecomment-371825354
In this case, should the algo allow a recursive iterative callback pattern as such ? ``` def mutate_please(self): # naive pseudo code clone = self.clone() # secure data/schema consistency mutations...
In schematics http://schematics.readthedocs.io/en/latest/usage/importing.html http://schematics.readthedocs.io/en/latest/usage/exporting.html
Another snippet found when closing old prs: ``` + +class MagicApp(AppConfig): + name = 'dal_select2' + + def ready(self): + MagicFormMetaclass.register_formfield_for_modelfield( + model_field=models.ForeignKey, + form_field=Select2ModelChoiceField, + ) + + MagicFormMetaclass.register_formfield_for_modelfield(...
@luzfcb the idea of the batavia example is: if you have batavia script loaded it will be able to interpret the bytecode of a callback, otherwise it will be executed...
My bad, actually your request is possible with the new tut >I would like to be able to, say, chain a validator. followed by an adapter, followed by a validator....
Yes i completely dig you example: StringAdapter(chain=(IntAdapter.steps('validate'), IntAdapter(cast=True).steps('clean'), IntAdapter(min_value=0)) Would be the same as: StringAdapter(chain=(IntAdapter(cast=True, min_value=0))) But I'm a bit lost with how the IOC would work, I thought calling...