Skip to content
#

django2

Here are 380 public repositories matching this topic...

SniperM99
SniperM99 commented Feb 19, 2020

按照书上提示 , 将 css 与 js 引入到自定义的 class Media 中
代码片段如下:

    class Media:
        css = {
            'all' : ('https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css'),
        }
        js = ('https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/js/bootstrap.bundle.js',)

当运行 runserver 后, 页面无任何变化 , 提示框里提示很多
"GET /static/.* HTTP/1.1" 404 1616 的字样(.*表示出现的各种字符统称)

django 开发的BBS博客项目, 此项目包含多用户注册,话题模块,发布文章,文章评论,课程、社区BBS以及消息提示,关注,采用邮箱注册,激活验证登录,以及QQ注册登录,招募作者发布教程在后台管理系统发布, pc采用模板渲染,cms采用vue drf前后分离,登录采用JWT认证登录、移动端采用react开发,

  • Updated Jun 30, 2020
  • Python
DovRine
DovRine commented Jul 28, 2018
Issues
  • Cannot create superuser until database tables are created
    • resolution: Run migrations before creating users
  • Path to requirements.txt is incorrect in "pip install" step
    • resolution 1: Run pip install before changing to the src folder
    • resolution 2: Change the pip install command to: pip install -r ../requirements.txt
Suggested Version

Improve this page

Add a description, image, and links to the django2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the django2 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.