Re: ModuleNotFoundError: No module named 'models'

2017-05-29 Thread m712 - Developer
How do you expect us to understand your problem if you give us no context at all? For all I know this error could be a file system corruption. On May 30, 2017 2:42 AM, jinghui yang wrote:ModuleNotFoundError: No module named 'models'How to fix this error? -- You received this message because yo

Re: ModuleNotFoundError: No module named 'models'

2017-05-29 Thread VC
from django.db import models # Create your models here. class Student(models.Model): fname = models.CharField(max_length=50, null=True, blank=True) def __str__(self): return self.fname please try this On Mon, May 29, 2017 at 7:42 PM, jinghui yang wrote: > ModuleNotFoundError: No module named

Re: ModuleNotFoundError: No module named 'models'

2017-05-29 Thread Dylan Reinhold
Well simple fix is make sure you have a module named models. Without the code no one is going to know what you did wrong. On Mon, May 29, 2017 at 4:42 PM, jinghui yang wrote: > ModuleNotFoundError: No module named 'models' > > How to fix this error? > > -- > You received this message because