Development/Trouble Shooting

[Vscode] E1101:Class has no ‘objects’ member

안다희 2019. 1. 24. 16:26
728x90
class Blog(models.Model):
title = models.CharField(max_length = 200)
pub_date = models.DateTimeField('data published')
body = models.TextField()
objects = models.Manager()

def __str__(self):
return self.title



https://motokoluv.github.io/django/django-5

vscode의 버그 찾으면 나옴



출처: https://mingos-habitat.tistory.com/34 [밍고의서식지:티스토리]