V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
ns2250225
V2EX  ›  Python

基于 Django 的个人小博客

  •  
  •   ns2250225 ·
    ns2250225 · 2017-02-11 15:48:40 +08:00 · 4136 次点击
    这是一个创建于 2633 天前的主题,其中的信息可能已经有所发展或是发生改变。

    起源:之前一直用 [有道云笔记] 来记录 Python 相关的知识,它的全局搜索功能太好用了,现在刚好学到 Django ,所以就写了这个 blog= =,用于搜集好用的,实用的代码段,欢迎各路大神点评和推荐代码段

    线上地址: http://119.29.59.93:8000/ Github 地址: https://github.com/ns2250225/DjangoBlog

    16 条回复    2017-02-13 11:53:52 +08:00
    aploium
        1
    aploium  
       2017-02-11 15:55:06 +08:00   ❤️ 1
    安全提醒: django 线上部署请务必关闭 DEBUG 选项, 否则可能导致任意代码执行
    ns2250225
        2
    ns2250225  
    OP
       2017-02-11 15:55:33 +08:00
    后台账号: mok
    后台密码: 1a2b3c4d
    ByZHkc3
        3
    ByZHkc3  
       2017-02-11 15:57:11 +08:00
    @ns2250225 卧槽
    ns2250225
        4
    ns2250225  
    OP
       2017-02-11 15:58:49 +08:00
    @ByZHkc3 怎么啦?
    ByZHkc3
        5
    ByZHkc3  
       2017-02-11 16:00:02 +08:00   ❤️ 1
    @ns2250225 我还以为被黑了,= =!原来是你自己公布的
    ns2250225
        6
    ns2250225  
    OP
       2017-02-11 16:19:02 +08:00
    @aploium 感谢提醒,现在就去关闭 DEBUG ,等下再测试
    ns2250225
        7
    ns2250225  
    OP
       2017-02-11 18:40:38 +08:00
    @ByZHkc3 现在管理员账号信息被清空了= =,怎样做到的啊
    cortexm3
        8
    cortexm3  
       2017-02-11 20:37:24 +08:00
    是登录不是登陆
    linkbg
        9
    linkbg  
       2017-02-11 21:55:03 +08:00 via iPhone
    @cortexm3 你这样说。我想起了我的大学测试课程的老师。 h   h
    dantegg
        10
    dantegg  
       2017-02-11 23:09:03 +08:00
    登录
    ns2250225
        11
    ns2250225  
    OP
       2017-02-11 23:25:43 +08:00
    @dantegg 嗯,改过来了
    ansheng
        12
    ansheng  
       2017-02-12 16:14:16 +08:00
    然而我并没有发现有什么优点??
    ns2250225
        13
    ns2250225  
    OP
       2017-02-12 18:18:23 +08:00
    @ansheng 能给一些具体的建议吗,本人最近才入坑 Django ,谢谢
    ansheng
        14
    ansheng  
       2017-02-12 18:50:13 +08:00 via iPhone   ❤️ 1
    @ns2250225 看看 python 学习小组是怎么构建博客的,简书上有他们的文章
    goodluck
        15
    goodluck  
       2017-02-13 10:17:37 +08:00
    楼主,你界面怎么写的这么 6 啊。。。
    panpanpan
        16
    panpanpan  
       2017-02-13 11:53:52 +08:00
    @ansheng Python 学习小组是哪的?没搜到呢?能否给个地址
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2908 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:46 · PVG 22:46 · LAX 07:46 · JFK 10:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.