GithubHelp home page GithubHelp logo

merlot1818 / djangocesium Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiawenquan/djangocesium

0.0 2.0 0.0 2.55 MB

Django +Cesium 加载倾斜模型 + upload 碎片化上传超大文件

Python 13.49% HTML 6.76% CSS 0.15% JavaScript 79.60%

djangocesium's Introduction

Cesium 倾斜模型的展示

前端webupload +Django后台实现大文件分片、断点续传、Django项目。 The front-end webupload uploader + Django backstage implementation of large file sharding, Breakpoint continuingly, Django project.

初始项目 Django2.0.3 python3.6

成功 测试上传3G大小的文件

没写modle ORM 上传文件 路径的映射 欢迎完善

表单 提交的token csrf 问题未解决 暂时注释掉 settings.py 里的如下代码
MIDDLEWARE_CLASSES = ( #'django.middleware.csrf.CsrfViewMiddleware', )

redis 缓存上传碎片的方式注释了 想尝试这个可以自己打开去配置

  1. Clone the repo.

    git clone [email protected]:jiawenquan/DjangoCesium.git cd DjangoCesium/

  2. Install the requirements (I suggest using a virtualenv).

    virtualenv ven source venv/bin/activate pip install -r requirements.txt

  3. Run the server.

    ./manage.py runserver

  4. Go to 127.0.0.1:8000 <http://127.0.0.1:8000>__ .Show Cesium Demo 3Dtiles . Go to 127.0.0.1:8000/upload/ <http://127.0.0.1:8000/upload/>__ and upload a file.

qq 1173551915

djangocesium's People

Contributors

jiawenquan avatar

Watchers

James Cloos 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.