Problemas resolvidos
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from enum import IntEnum
|
||||
|
||||
from django.db import models
|
||||
from django_mysql.models import JSONField
|
||||
|
||||
from internal.utils import empty_list
|
||||
|
||||
@@ -33,8 +32,8 @@ class Game(models.Model):
|
||||
cols = models.PositiveIntegerField('Board cols', default=10, help_text="Board's total columns")
|
||||
mines = models.PositiveIntegerField('Mines on board', default=5, help_text="Board's total placed mines")
|
||||
|
||||
board = JSONField('Generated board', default=empty_list, help_text='The generated board game')
|
||||
board_progress = JSONField(
|
||||
board = models.JSONField('Generated board', default=empty_list, help_text='The generated board game')
|
||||
board_progress = models.JSONField(
|
||||
'Progress board',
|
||||
default=empty_list,
|
||||
help_text='This board is updated at each GameEvent recorded',
|
||||
|
||||
Reference in New Issue
Block a user