zoukankan      html  css  js  c++  java
  • Django-- File "manage.py", line 16 ) from exc ^ SyntaxError: invalid syntax

    fudandandembp:guest futantan$ python manage.py runserver
      File "manage.py", line 16
        ) from exc
             ^
    SyntaxError: invalid syntax

    用python3 解决

    fudandandembp:guest futantan$ python3 manage.py runserver
    Watching for file changes with StatReloader
    Performing system checks...
    
    System check identified no issues (0 silenced).
    
    You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
    Run 'python manage.py migrate' to apply them.
    
    June 07, 2020 - 07:50:40
    Django version 3.0.7, using settings 'guest.settings'
    Starting development server at http://127.0.0.1:8000/
    Quit the server with CONTROL-C.
  • 相关阅读:
    类的加载机制与反射 笔记
    json
    人人都是产品经理 笔记
    java IO
    jcrop+jquery+javaweb 实现头像裁剪、上传
    C++学习-3
    C++学习-2
    C++学习-1
    Django高级部分
    Django---模板
  • 原文地址:https://www.cnblogs.com/clairedandan/p/13060878.html
Copyright © 2011-2022 走看看