lots of updates :/
This commit is contained in:
@@ -57,6 +57,6 @@ class PromoSerializer(serializers.ModelSerializer):
|
||||
# event_type = serializers.CharField(source='get_event_type_display')
|
||||
class Meta:
|
||||
model = Promo
|
||||
fields = ('id', 'title', 'organization', 'promo_type', 'long_text', 'short_text', 'overlay_image', 'classified_image', 'target_link')
|
||||
# fields = '__all__'
|
||||
# fields = ('id', 'title', 'organization', 'promo_type', 'long_text', 'short_text', 'overlay_image', 'target_link')
|
||||
fields = '__all__'
|
||||
depth = 2
|
||||
Reference in New Issue
Block a user