awesto / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
3.17k stars 1.04k forks source link

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

Open artforlife opened 2 years ago

artforlife commented 2 years ago

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 commented 2 years ago

https://github.com/awesto/django-shop/issues/845 worked for me

artforlife commented 2 years ago

845 worked for me

Thanks! I shall take a look.