mirror of
https://github.com/daniviga/django-ram.git
synced 2025-10-19 09:00:32 +02:00
Add shop as a fixed property (#49)
* Add shop field (from properties) * Update template * Implement description in BaseModel and then consist * Make notes internal only * Fix a merge issue
This commit is contained in:
@@ -21,4 +21,5 @@ class ConsistSerializer(serializers.ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Consist
|
||||
fields = "__all__"
|
||||
exclude = ("notes",)
|
||||
read_only_fields = ("creation_time", "updated_time")
|
||||
|
Reference in New Issue
Block a user