Django搭建简易博客教程
博客
书籍
Python Web 框架,第 1 部分: 使用 Django 和 Python 开发 Web 站点
查看python版本
[root@localhost eshop]# python -V
Python 2.7.5
安装svn
yum install svn -y
sqlite使用
[root@localhost eshop]# ls
db.sqlite3 eshop exl manage.py mysql-python order
[root@localhost eshop]# sqlite3 db.sqlite3
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .databases
seq name file
--- --------------- ----------------------------------------------------------
0 main /data/eshop/db.sqlite3
sqlite> .tables
auth_group django_content_type
auth_group_permissions django_migrations
auth_permission django_session
auth_user order_car
auth_user_groups order_manufacturer
auth_user_user_permissions order_product
django_admin_log
sqlite> select * from order_product
...> ;
sqlite> select * from auth_user;
1|pbkdf2_sha256$15000$oQlogi5RrnTO$YTQiO6YXPjPyzmLEDIFXGTbDJvQkwWDUHmvjb91Ibag=|2015-04-26 14:48:03.455866|1|root|||s@qq.com|1|1|2015-04-26 14:46:57.053632
sqlite>