删除不必要的东西
This commit is contained in:
@@ -14,7 +14,6 @@ class ProblemSampleSerializer(serializers.ListField):
|
||||
|
||||
class JSONField(serializers.Field):
|
||||
def to_representation(self, value):
|
||||
print value, type(value)
|
||||
return json.loads(value)
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
{% endifequal %}
|
||||
</p>
|
||||
|
||||
|
||||
<div>
|
||||
<p>{{ announcement.content|safe }}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user