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

module 'django.conf.global_settings' has no attribute 'STRIPE_SECRET_KEY' #15

Open
saad-zaib opened this issue Aug 21, 2023 · 0 comments

Comments

@saad-zaib
Copy link

I am geting this error when ever i run the python candleaf/dev/populate_products.py i have done some changes also to the populate_products.py

settings.configure() #this
from candleaf.store.models import Product, ProductImage, Review, OrderItem, Order, FeaturedProduct

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')

django.setup()#this to resolve other issue

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

1 participant