一直努力成长中🧑💻
下边是我的联系方式,欢迎一起交流学习
- 💬 微信:hy1807003141
- 📝 我的掘金
- 坐标:杭州、成都
技术栈:
:clapper: Django 搭建的一个视频网站
一直努力成长中🧑💻
下边是我的联系方式,欢迎一起交流学习
技术栈:
ImportError at /
No module named urls
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.8.13
Exception Type: ImportError
Exception Value:
No module named urls
Exception Location: /home/python/.virtualenvs/py2/local/lib/python2.7/site-packages/rest_framework/compat.py in , line 26
Python Executable: /home/python/.virtualenvs/py2/bin/python
Python Version: 2.7.11
Python Path:
['/home/python/movieweb_python/movieweb',
'/home/python/movieweb_python/movieweb',
'/home/python/movieweb_python/movieweb/videoplay',
'/home/python/movieweb_python/movieweb/movieweb',
'/home/python/movieweb_python',
'/home/python/.virtualenvs/py2/lib/python2.7',
'/home/python/.virtualenvs/py2/lib/python2.7/plat-x86_64-linux-gnu',
'/home/python/.virtualenvs/py2/lib/python2.7/lib-tk',
'/home/python/.virtualenvs/py2/lib/python2.7/lib-old',
'/home/python/.virtualenvs/py2/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/home/python/.virtualenvs/py2/local/lib/python2.7/site-packages',
'/home/python/.virtualenvs/py2/lib/python2.7/site-packages']
Server time: 星期三, 31 一月 2018 08:22:52 +0000
你好,这个项目有后台用于管理和添加视频吗?
RT:楼主好,自学Django框架,一两个月能否开发出这种站呢?
我现在有一个空闲的阿里云服务器,Windows的,想部署一下这个视频点播网站。但是我在网上找的文档都是东一块西一块,完全没有条理性,搞得我头很大
大家有没有比较整洁的文档或者比较简便的方法来部署django网站
大致看了下代码,现在你这个web已经支持微信支付了是吧?
正常启动了,但是浏览器无法访问。
python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
March 28, 2019 - 05:04:36
Django version 1.8.13, using settings 'movieweb.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
谢谢
请问这个是怎么安装使用的,有没有文档,视频使用的是外链吗
你好,我想问一下AllowHost的格式是怎么样的?试了很多都报错SyntaxError: invalid syntax
你好、我看了下您的演示网址、发现videojs的视频源是.mp4文件、请问您的web有涉及视频推流吗?
不涉及的话是如何加载这么迅速的呢?
你好,感谢分享,体验了一下还不错,我打算把微信支付完善一下,那个移动端是什么意思,是移动端自适应还是?
把djangorestframework 这个module 降到3.5.4试试
你好,运行开发服务器python manage.py runserver的时候报错了,能发一份pip list出来吗?
ee@EE ~/movieweb_python-master/movieweb $ python manage.py runserver
Unhandled exception in thread started by <function wrapper at 0x7f9d36958d70>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/utils/autoreload.py", line 229, in wrapper
fn(args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 107, in inner_run
autoreload.raise_last_exception()
File "/usr/lib/python2.7/dist-packages/django/utils/autoreload.py", line 252, in raise_last_exception
six.reraise(_exception)
File "/usr/lib/python2.7/dist-packages/django/utils/autoreload.py", line 229, in wrapper
fn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named rest_framework
视频分类是自动分类的?还是你手动加的?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.