django-service-objects icon indicating copy to clipboard operation
django-service-objects copied to clipboard

Service objects for Django

Results 7 django-service-objects issues
Sort by recently updated
recently updated
newest added

Similar case using the `ServiceView`.

good first issue
documentation

The services shouldn't allow more fields than expected when calling execute ```py class MyService(Service): field_a = forms.CharField(...) ``` Call ```py MyService.execute({ 'field_y': 1, 'field_a'; 2 }) ``` Expectations: Raises an...

Any help on how to use this library with uploaded files? I have it working for where I set the service object to normal Django form fields like `forms.CharField` (where...

class Sale(models.model): invoice_number = models.CharField(....) class SaleItem(models.Model): sale = models.ForeignKey(Sale) .... How can i use a service for creating a sale with its respective items ? I'll much appreciate the...

We've been using this library for a few weeks and we're really liking it so far -- thank you! There's one thing that keeps tripping us up: the `MultipleModelField` and...

Tests pass Also: - fix runtests.py to ignore venv directory - make messages (update missing for BR and RU) Refs #76

When using large Querysets as the input to `MultipleModelField`, the service fails (usually to out of memory / timeouts). This occurs because the Queryset is [evaluated in `clean` as the...