django1.6之创建用户
摘要:如何你运行python manager.py syncdb(数据库同步成功)则运行一下代码>>> from django.contrib.auth.models import User>>> user = User.objects.create_user('admin','2222@qq.com',...
阅读全文
posted @ 2014-05-14 09:54
posted @ 2014-05-14 09:54
posted @ 2014-05-08 11:13
posted @ 2014-05-07 10:53