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’
database
Default WAMP phpmyadmin username and password
In case you're wondering, the default WAMP username\password for phpmyadmin is as follows: username: root password: [none] So if you were to say, set up the WordPress wp-config.php file, it would look something like this. /** MySQL database username */ define('DB_USER', 'root'); /** MySQL database password */ define('DB_PASSWORD', ''); I hope this help some people avoid some headaches. Cheers! … [Read more...] about Default WAMP phpmyadmin username and password
Recent Activity