小编Dmi*_*rov的帖子

django-dbbackup的正确设置是什么?

使用django 1.10,django-dbbackup 3.0,postgresql-9.5.4

我是在文档http://django-dbbackup.readthedocs.io/en/stable/installation.html的配置设置中写的,但是出现了这个错误:

Traceback (most recent call last):
  File "/home/user/envs/siteEnv/lib/python3.5/site-packages/django/utils/module_loading.py", line 23, in import_string
    return getattr(module, class_name)
AttributeError: module 'dbbackup.storage' has no attribute 'filesystem_storage'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/user/envs/siteEnv/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/user/envs/siteEnv/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/user/envs/siteEnv/lib/python3.5/site-packages/django/core/management/base.py", line 305, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/user/envs/siteEnv/lib/python3.5/site-packages/django/core/management/base.py", line 356, in execute
    output = self.handle(*args, **options) …
Run Code Online (Sandbox Code Playgroud)

django postgresql

5
推荐指数
1
解决办法
1539
查看次数

标签 统计

django ×1

postgresql ×1