mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
删除不必要的东西
This commit is contained in:
parent
e55997065f
commit
73dd1be447
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user