GithubHelp home page GithubHelp logo

poetries / django-shop Goto Github PK

View Code? Open in Web Editor NEW
18.0 7.0 7.0 7.89 MB

Python3+Django+xadmin搭建一个教育平台

Python 37.05% CSS 27.62% JavaScript 17.86% HTML 17.42% Makefile 0.05%
html5 django javascript python3 xadmin-python3 pycharm docker

django-shop's Introduction

基于Django+xadmin的一个后台管理系统

实现功能

功能一览

开发环境

  • visualenv
  • Python 3.5
  • Django 1.9.0
  • xadmin 0.6.1

启动项目

第一步:配置数据库

  • 确保你已经安装了 MySQL
  • settings.py 里填入你的数据库信息
  • 生成数据表(打开pycharm,Tools->Run manage.py Task,然后依次输入 makemigrations migrate生成数据表到数据库中)
DATABASES = {
   'default': {
       'ENGINE': 'django.db.backends.mysql',
       'NAME': 'imooc',
       'USER': 'root', 
       'PASSWORD': 'root',
       'HOST': '127.0.0.1',
   }
}

第二步:安装相应的包

distribute (0.7.3)
Django (1.9)
django-crispy-forms (1.6.1)
django-formtools (2.0)
django-pure-pagination (0.3.0)
django-reversion (2.0.8)
django-simple-captcha (0.4.6)
httplib2 (0.9.2)
mysqlclient (1.3.10)
olefile (0.44)
Pillow (4.0.0)
pip (9.0.1)
setuptools (28.8.0)
six (1.10.0)
wheel (0.29.0)

ScreenShot

  • 前台

  • 后台

演示

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.