正在运行迁移:没有要应用的迁移

时间:2019-02-13 15:20:50

标签: python django django-models django-templates

我想从他们的官方git仓库Django-embed-video example project中测试django-embed-video

这是他们的instructions

  

示例项目为了轻松使用django-embed-video,您可以   看一下示例项目。它位于example_project   存储库根目录中的目录。

     

正在运行的示例项目安装要求:

pip install -r requirements.txt
     

创建数据库:

python manage.py migrate --run-syncdb --noinput
     

或者,对于旧版本的Django:

python manage.py syncdb --noinput
     

运行测试服务器:

python manage.py runserver
     

看看http://localhost:8000。您可以登录到   使用用户名admin和密码admin进行管理。

跑步时,我遵循了他们的所有指示。

python manage.py migrate --run-syncdb --noinput

我得到以下

Operations to perform:
  Synchronize unmigrated apps: embed_video, example_project, messages, posts
  Apply all migrations: admin, auth, contenttypes, sessions, sites
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
Running migrations:
  No migrations to apply.

我跑步时

python manage.py runserver 8080

我得到以下内容

执行系统检查...

System check identified no issues (0 silenced).
February 13, 2019 - 15:52:08
Django version 1.11.20, using settings 'example_project.settings'
Starting development server at http://127.0.0.1:8080/
Quit the server with CTRL-BREAK.

我去http://127.0.0.1:8080/时看到以下内容

enter image description here

我在这里做什么错了?

0 个答案:

没有答案