小编Sne*_*eil的帖子

Django-CMS:意外的关键字参数“providing_args”

我在新服务器上安装了普通的 django-cms。我安装了所有要求。一切都很顺利,直到我想迁移到数据库(Postgres)。

这就是我所做的:

  1. 尝试重新安装并再次安装。没有改变它。
  2. 使用谷歌尝试找到有相同错误的人。
  3. 尝试编辑引发错误(如下所示)的信号文件,但这意味着将其全部重写,这仍然使其无响应。

追溯:

  File "manage.py", line 22, in <module>
    main()
  File "manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/websites/fl/flvenv/lib/python3.8/site-packages/django/core/management/_                                                                                                                                                             _init__.py", line 425, in execute_from_command_line
    utility.execute()
  File "/websites/fl/flvenv/lib/python3.8/site-packages/django/core/management/_                                                                                                                                                             _init__.py", line 401, in execute
    django.setup()
  File "/websites/fl/flvenv/lib/python3.8/site-packages/django/__init__.py", lin                                                                                                                                                             e 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/websites/fl/flvenv/lib/python3.8/site-packages/django/apps/registry.py"                                                                                                                                                             , line 114, in populate
    app_config.import_models()
  File "/websites/fl/flvenv/lib/python3.8/site-packages/django/apps/config.py",                                                                                                                                                              line 300, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File …
Run Code Online (Sandbox Code Playgroud)

django django-cms python-3.x

6
推荐指数
1
解决办法
4784
查看次数

标签 统计

django ×1

django-cms ×1

python-3.x ×1