mtianyan / onlinemooc Goto Github PK
View Code? Open in Web Editor NEWVue前台 + Django3.1 + DjangoRestful Framework + Ant Design Pro V4后台 开发的在线教育网站及后台管理
Home Page: http://imooc.funpython.cn
License: Apache License 2.0
Vue前台 + Django3.1 + DjangoRestful Framework + Ant Design Pro V4后台 开发的在线教育网站及后台管理
Home Page: http://imooc.funpython.cn
License: Apache License 2.0
本地测试邮件发送是可以实现,
远程部署之后邮件发送不了。
还有入群还要付款
"C:\Users\67505\AppData\Local\Programs\Python\Python37\lib\site-packages\django\db\backends\base\base.py", line 220, in ensure_connection这个问题怎么解决?requirements已经安装好了,生成迁移文件的时候报错,这个怎么解决?可以加我的扣扣675059844交流一下么?
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'captcha'
organization中的课程数course_nums未作处理
简书404了
我尝试了vue-mooc的master分支,页面显示效果差别较大,您的演示站点 https://imooc.funpython.cn/ 的前端看起来非常完整,想了解您请的哪个版本,或者您在开发过程中有没有遇到我下边图片这样的问题,谢谢
这个系统的sql文件可以给一下吗
根据官方的 How to write reusable apps 文档,推荐的结构是app直接放在根目录下,而不是放在apps下面。
就算你是想放在一个自己的文件夹,也不能用apps来作为目录名啊。因为每个app下面也有一个apps.py,这样命名完全冲突了。慕课网这么教的吗?
输完用户名和密码之后回车就提示这个
CommandError: '' value has an invalid date format. It must be in YYYY-MM-DD format.
通过ForgetPwdView可以获得修改密码的链接,点击进去之后是reset界面,里面包含了要修改密码的email信息。
ModifyPwdView修改密码的时候对email是没有验证的,那么我在reset界面直接修改email信息,就可以修改其他邮箱的密码了。
具体在users/view.py下:
class CustomBackend(ModelBackend):
def authenticate(self, request, username=None, password=None, **kwargs):
改完以后就可以把settings中的30-35行放开注释了
# Application definition 注册我们的app
# 设置邮箱和用户名均可登录
# AUTHENTICATION_BACKENDS = (
# 'users.views.CustomBackend',
#
# )
另:一个小bug是templates\org-list.html页面32行city.id应该是city_id
请问你是个人还是组织小团队, 在做这些工作? 看了你的几个项目, 作为学习目的想拿你的几个项目做一些后端上的改造, 然后去实现自己的一些 devops 和分布式开发的** , 其次希望能有更多交流
我的联系方式
email: [email protected]
qq: 2318930092
name: tony
按照说明运行以后,能运行但没有图片显示
这个项目没有继续维护有点可惜了,还有不少需要完善的地方,如果一直维护估计会有很多用户。
在course里,course使用inlines入参,关联课程,展开course可以看到关联的课程,但是点击加号的时候,值能看到页面下放有要增加的新字段,但是不能显示完整页面,不知道您这边可以吗?演示地址xadmin用户和密码可以公开吗
因为你要求重置 127.0.0.1:8000 上的账户密码, 所以收到了这封邮件.
请访问该页面并选择一个新密码:
http://127.0.0.1:8000/xadmin/xadmin/password_reset/MQ-54a-f4adaa47e9042a4e072f/
你的用户名,如果已忘记的话: admin
感谢使用我们的站点!
127.0.0.1:8000 团队
项目没有数据吗?
初次使用迁移命令容易出错.
python manage.py makemigrations
python manage.py migrate
``
导入mxonline2.sql到数据库后,运行python manage.py migrate
会出现如下错误:
django.db.migrations.exceptions.InconsistentMigrationHistory: Migration users.0001_initial is applied before its dependency auth.0009_alter_user_last_name_max_length on database 'default'.·
数据库文件貌似需要修改
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.