Open al2helal opened 4 years ago
Since you want to use the updated (my) repo's code, you should install with below command -
pip install -e git+https://github.com/ashishnitinpatil/django-oscar-cash-on-delivery#egg=cashondelivery
Also, please see issue https://github.com/ashishnitinpatil/django-oscar-cash-on-delivery/issues/3, this repository does not support Django 2+.
I follow these things
from cashondelivery.dashboard.app import application as cod_app
url(r'^dashboard/cod/', include(cod_app.urls)), from your installation instruction. Then save and my server reloaded. But shows following error. My django version is 2.2.10.
File ".../src/cashondelivery/cashondelivery/dashboard/app.py", line 5, in
from oscar.core.application import Application
ImportError: cannot import name 'Application' from 'oscar.core.application' (~/.local/lib/python3.7/site-packages/oscar/core/application.py)