Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An admin for model "User" has to be registered to be referenced by FolderAdmin.autocomplete_fields #875

Open
artforlife opened this issue Apr 26, 2022 · 2 comments

Comments

@artforlife
Copy link

artforlife commented Apr 26, 2022

When doing a basic install, as indicated in the tutorial and running pipenv run ./manage.py initialize_shop_demo, I get the following error.

(base) ➜  my-shop  pipenv run ./manage.py initialize_shop_demo
/home/user/.local/share/virtualenvs/my-shop-mW1dO9i8/lib/python3.7/site-packages/shop/apps.py:32: UserWarning: 
Your caching backend does not support invalidation by key pattern.
Please use `django-redis-cache`, or wait until the product's HTML
snippet cache expires by itself.
  warnings.warn("\n"
SystemCheckError: System check identified some issues:

ERRORS:
<class 'filer.admin.folderadmin.FolderAdmin'>: (admin.E039) An admin for model "User" has to be registered to be referenced by FolderAdmin.autocomplete_fields.
<class 'filer.admin.permissionadmin.PermissionAdmin'>: (admin.E039) An admin for model "User" has to be registered to be referenced by PermissionAdmin.autocomplete_fields.

@zawarudo-tokiwo
Copy link

#845
worked for me

@artforlife
Copy link
Author

#845 worked for me

Thanks! I shall take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants