推荐学习书目
› 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
ybping
V2EX  ›  Python

整合 Django 和 AdminLTE

  •  
  •   ybping · May 12, 2018 · 9513 views
    This topic created in 3099 days ago, the information mentioned may be changed or developed.
    想在一个 Django 项目中使用 AdminLTE, 是修改 AdminLTE 为 template 呢, 还是做成前后端分离? 求建议
    12 replies  •  2019-06-28 21:05:44 +08:00
    Jhonson
    Jhonson
    May 12, 2018
    1
    看项目吧我觉得,你这个是开源的吗。
    ybping
    ybping
    OP
    May 12, 2018
    2
    @Jhonson 不是开源的
    chi1st
    chi1st
    May 12, 2018
    3
    最近用 Django 和 xadmin 做后台管理系统,不过打算之后前后端分离来做
    ybping
    ybping
    OP
    May 12, 2018
    4
    @chi1st 恩,xadmin 不怎么更新了, 不知道多 2.0 的 Django 支持怎么样?
    chi1st
    chi1st
    May 12, 2018
    5
    @ybping 作者已经弃坑开了个纯前端的 new-xadmin 分支。。。
    ybping
    ybping
    OP
    May 12, 2018
    6
    @chi1st 实用性怎么样? 求安利
    v166ex
    v166ex
    May 12, 2018
    7
    这个得关注下。AdminLTE 看上去挺不错的。但是感觉还是达不到那种开箱即用的地步,我这种小白要花很多时间去折腾
    ybping
    ybping
    OP
    May 12, 2018 via iPhone
    8
    @binfengxy 嗯,如果要用 template 得自己用 DTL 去修改 html
    shepherd
    shepherd
    May 13, 2018 via Android❤️1
    9
    曾经尝试过这种玩法,后来放弃了,修改 template 的工作量太大。现在是前后端分离,用 vue 做前端,正好有个开源的项目 http://panjiachen.github.io/vueAdmin-template,基本上开箱即用。当然前后端分离会有些安全性问题,要严格控制好后端 api 的权限。
    chi1st
    chi1st
    May 13, 2018
    10
    @ybping 还没用过。。。
    wuyue92tree
    wuyue92tree
    Jun 28, 2019
    12
    @wuyue92tree 新鲜出炉,欢迎测试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2789 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:57 · PVG 18:57 · LAX 02:57 · JFK 05:57
    ♥ Do have faith in what you're doing.