Skip to content

Commit

Permalink
feat: update json field import (fix warning) (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
fargito authored Apr 16, 2021
1 parent 14ef5a5 commit c84bb3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/audits/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from enum import Enum
from core.models import BaseModel
from django.contrib.postgres.fields import JSONField
from django.db import models
from projects.models import Page, ProjectAuditParameters, Script
from django.utils import timezone
Expand Down Expand Up @@ -65,7 +64,7 @@ class AuditStatusHistory(BaseModel):
choices=[(status.name, status.value) for status in AvailableStatuses],
)
details = models.CharField(max_length=1000)
info = JSONField(null=True)
info = models.JSONField(null=True)


class AuditResults(BaseModel):
Expand Down

0 comments on commit c84bb3b

Please sign in to comment.