So you're working through creating some models and you attempt to make migrations when you're done but you get the following error or something similar: File "/home/dan/Documents/djlab/mysite/polls/models.py", line 5, in <module> class Question(models.Model): File "/home/dan/Documents/djlab/mysite/polls/models.py", line 6, in Question question_text = models.Charfield(max_length=200) AttributeError: 'module' object has no attribute 'Charfield' This error can happen with … [Read more...] about Django Error: AttributeError: ‘module’ object has no attribute ‘xxx’
You are here: Home / Archives for Models
Recent Activity