mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add shop field (from properties) (#48)
* Add shop field (from properties) * Update template
This commit is contained in:
@@ -26,7 +26,7 @@ class BookSerializer(serializers.ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Book
|
||||
exclude = ("purchase_date", "price",)
|
||||
exclude = ("shop", "purchase_date", "price",)
|
||||
read_only_fields = ("creation_time", "updated_time")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user