<commit_before># restframework
from rest_framework import serializers

# This app
from astrobin_apps_platesolving.models import Solution


class SolutionSerializer(serializers.ModelSerializer):
    class Meta:
        model = Solution
        read_only_fields = (
            'status',
            'submission_id',
            'content_type',
            'object_id',
            'image_file',
            'objects_in_field',
            'ra',
            'dec',
            'pixscale',
            'orientation',
            'radius',
        )
<commit_msg>(Upgrade) Add missing fields = '__all__'<commit_after># restframework
from rest_framework import serializers

# This app
from astrobin_apps_platesolving.models import Solution


class SolutionSerializer(serializers.ModelSerializer):
    class Meta:
        model = Solution
        fields = '__all__'
        read_only_fields = (
            'status',
            'submission_id',
            'content_type',
            'object_id',
            'image_file',
            'objects_in_field',
            'ra',
            'dec',
            'pixscale',
            'orientation',
            'radius',
        )

{'fraction_non_alphanumeric': 0.08888888888888889, 'fraction_numerical': 0.0, 'mean_word_length': 1.8081534772182255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7576796', 'n_tokens_mistral': 311, 'n_tokens_neox': 306, 'n_words': 66}