Django搭建简易博客教程

来源:互联网 发布:python发送邮件 编辑:程序博客网 时间:2024/04/29 16:54

Django搭建简易博客教程
博客
书籍
Python Web 框架,第 1 部分: 使用 Django 和 Python 开发 Web 站点

查看python版本

[root@localhost eshop]# python -VPython 2.7.5

安装svn

yum install svn -y

sqlite使用

[root@localhost eshop]# lsdb.sqlite3  eshop  exl  manage.py  mysql-python  order[root@localhost eshop]# sqlite3 db.sqlite3 SQLite version 3.7.17 2013-05-20 00:56:22Enter ".help" for instructionsEnter SQL statements terminated with a ";"sqlite> .databasesseq  name             file                                                      ---  ---------------  ----------------------------------------------------------0    main             /data/eshop/db.sqlite3                                    sqlite> .tablesauth_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.053632sqlite> 
0 0
原创粉丝点击