order: serialize all fields

This commit is contained in:
Nico Schottelius 2020-02-27 12:45:54 +01:00
parent e89fb45f9c
commit 70a4fe4d90
2 changed files with 7 additions and 2 deletions

View file

@ -82,6 +82,12 @@ sample values with real values.
These APIs can be used for internal testing.
### URL Overview
```
http -a nicoschottelius:$(pass ungleich.ch/nico.schottelius@ungleich.ch) http://localhost:8000
```
### Snapshotting
```

View file

@ -16,8 +16,7 @@ class PaymentSerializer(serializers.ModelSerializer):
class OrderSerializer(serializers.ModelSerializer):
class Meta:
model = Order
fields = ['owner', 'creation_date', 'starting_date', 'ending_date',
'bill', 'recurring_price', 'one_time_price', 'recurring_period']
fields = '__all__'
class UserSerializer(serializers.ModelSerializer):
class Meta: