Python-admin grappeli - 缺少删除操作下拉列表(或其他操作)

时间:2014-02-25 15:01:51

标签: python django django-grappelli

我正在玩Grappeli为我的django管理员。按照设置说明操作后,我找不到操作下拉列表。我允许我删除一个对象。这使它无法使用。有任何想法吗?我做错了什么的线索?

我正在使用(继承自另一个程序员)django-storage和s3作为存储 并设置:     STATICFILES_STORAGE ='server.s3utils.StaticRootS3BotoStorage'     DEFAULT_FILE_STORAGE ='server.s3utils.MediaRootS3BotoStorage'

注意,在收集静态时 - 在grappeli部分之后。我收到了这个错误:

Traceback (most recent call last):
  File "manage.py", line 12, in <module>
    execute_from_command_line(sys.argv)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
    return self.handle_noargs(**options)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 173, in handle_noargs
    collected = self.collect()
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 101, in collect
    for finder in finders.get_finders():
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 253, in get_finders
    yield get_finder(finder_path)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/utils/functional.py", line 32, in wrapper
    result = func(*args)
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 265, in _get_finder
    return Finder()
  File "/home/alon/.virtualenvs/stox-server/local/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 62, in __init__
    "The STATICFILES_DIRS setting should "
django.core.exceptions.ImproperlyConfigured: The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting

但是因为其他的grappelli外观和感觉都存在。我不确定这个问题是否完全连接

1 个答案:

答案 0 :(得分:3)

操作下拉菜单一直位于页面底部。