-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Red Equal Sign - Python(Django) models.py fields #127
Comments
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). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: