
django
蒙蒙0123
这个作者很懒,什么都没留下…
展开
-
django中mysql数据库配置
settings.py中如下部分DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'data_base', ##数据库名 'USER': 'root', ##一般为root ...原创 2018-03-19 17:01:25 · 197 阅读 · 0 评论 -
eclipse上创建superuser有问题,cmd终端创建
eclipse下创建superuser的时候会一直有问题,报错:Superuser creation skipped due to not running in a TTY. You can run manage.py createsuperuser in your project to create one manually.按照提示说的执行manage.py createsuperuser 这...原创 2018-03-21 21:38:35 · 340 阅读 · 0 评论