Open diek opened 3 years ago
I have tried changing the theme as well, no luck.
class GameUser(AbstractUser):
username = None
email = models.EmailField(_("email address"), unique=True)
is_active_player = models.BooleanField(default=True)
USERNAME_FIELD = "email"
REQUIRED_FIELDS = []
objects = CustomUserManager()
def __str__(self):
return self.email
class Quiz(models.Model):
quiz_name = models.CharField(max_length=50)
def __str__(self):
return self.quiz_name
What happens when you set the file language to standard "Python" (the one supplied with Sublime).
If I switch to Python it is fine.
I have been using SBT 4 with Djaneiro and previously with SBT 3 without issue. I recently had to reinstall my OS to Big Sur and since that time if I use Djaneiro for py files it randomly highlights equal signs with red. I am cannot understand why, nor how to resolve it. The only fix is to set the syntax to Python. Why would Djaneiro do this?
Note that I removed all linters in my attempt to solve this.
Update: The problem is isolated to models.py and model fields.