Giter Site home page Giter Site logo

django-adminlte's Introduction

django-adminlte

注意: 以下内容基于Mac OSX

依赖

  • python 2.7
  • django 1.8

技术栈

  • 前端:

    • jquery, vue.js, underscore
    • adminlte 开源前端模板
  • 后端

    • django
    • django-rest-framework
    • django-mptt
    • django-registration

准备工作:

推荐使用virutalenv环境

  1. pip install virtualenv
  2. virtualenv lte
  3. source lte/bin/activate
  4. cd lte

跑起来

  1. git clone [email protected]:lyhapple/django-adminlte.git
  2. cd django-adminlte
  3. pip install -r requirement.txt
  4. python manage_dev.py migrate
  5. python manage_dev.py loaddata conf/fixture_data.json
  6. python manage_dev.py runserver

开发与使用

开发者文档

请参考 docs/develop.md

如需fork,请使用develop分支,并向该分支提交 pull request。

使用

  1. 超管用户名及密码都是: admin

  2. django自带后台地址为: /admin/

  3. 写好Model 与 serializer 类之后,可以通过菜单管理页面,增加管理入口, 比如,创建了名为demo的app, 然后新增了一个Product Model, 再新增一个ProductSerializer类, 最后即可在菜单管理页面增加对Product数据的管理入口

django-adminlte's People

Contributors

cnpythongo avatar lyhapple avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.