-
Notifications
You must be signed in to change notification settings - Fork 55
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
Cannot get runserver or docker image to work due to error #50
Comments
Have you been able to figure this out? I am having the same issue. |
Nope this thing just seems broken I am moving on to another shopping card system what a pitty |
I have the same problem. When the error ocurrs goto the folder of your shop ("the name you put it on configuration"). Then goto your shop folder and run again: |
I will try tonight and let you know
Thank you,
Ruben
…On Fri, 3 Dec 2021, 19:00 desarrollosrosarinos, ***@***.***> wrote:
I have the same problem.
I download the project and edit requirements.txt
git clone https://github.com/awesto/cookiecutter-django-shop
cd cookiecutter-django-shop/
cd \{\{cookiecutter.project_slug\}\}/
cookiecutter cookiecutter-django-shop
When the error ocurrs goto the folder of your shop ("the name you put it
on configuration").
Edit requirements.txt, put versión 2.0.2 to filer
*django-filer==2.0.2*
And add compressor at the end of the line
*django_compressor*
Then goto your shop folder and run again:
docker-compose up --build -d
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJ5H5LHCKOVZ2P24HKUYQDUPEATDANCNFSM5H7ZPJYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I am having this same error and have tried to follow the above instructions but there must be something I'm missing. I can't find the file |
Same error for me, just lost time trying to make it work. |
What happened?
Installing django-shop and running into the following issue
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.
System check identified 2 issues (1 silenced).
What should've happened instead?
full log
(base) MacBook-Pro-3:my-shop ruben$ pipenv run ./manage.py runserver
/Users/ruben/.local/share/virtualenvs/my-shop--4zjYMH3/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 HTMLsnippet cache expires by itself.
warnings.warn("\n"
/Users/ruben/.local/share/virtualenvs/my-shop--4zjYMH3/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 HTMLsnippet cache expires by itself.
warnings.warn("\n"
[2021-11-14 12:18:06,783 autoreload] INFO: Watching for file changes with StatReloader
Performing system checks...
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/Users/ruben/opt/anaconda3/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/Users/ruben/opt/anaconda3/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Users/ruben/.local/share/virtualenvs/my-shop--4zjYMH3/lib/python3.7/site-packages/django/utils/autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "/Users/ruben/.local/share/virtualenvs/my-shop--4zjYMH3/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run
self.check(display_num_errors=True)
File "/Users/ruben/.local/share/virtualenvs/my-shop--4zjYMH3/lib/python3.7/site-packages/django/core/management/base.py", line 441, in check
raise SystemCheckError(msg)
django.core.management.base.SystemCheckError: 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.
System check identified 2 issues (1 silenced).
Steps to reproduce
The text was updated successfully, but these errors were encountered: