VigyBag icon indicating copy to clipboard operation
VigyBag copied to clipboard

While cloning Got an error : SECRET_KEY NOT FOUND

Open Shadowsweep opened this issue 9 months ago • 11 comments

image while cloning the repo i installed the required libraries and faced this error for Django Contribution

Shadowsweep avatar May 10 '24 14:05 Shadowsweep

Give a default secret key as a second argument SECRET_KEY = config("SECRET_KEY", "your_default_key") in settings.py

Jaivignesh-afk avatar May 10 '24 16:05 Jaivignesh-afk

ok thanks

Shadowsweep avatar May 10 '24 17:05 Shadowsweep

after changing showing this error . i have use the SECRET KEY in settings.py , now showing this error : image

Shadowsweep avatar May 10 '24 17:05 Shadowsweep

Can you show me the code?

On Fri, May 10, 2024, 23:21 Utkarsh gupta @.***> wrote:

after changing showing this error image.png (view on web) https://github.com/codervivek5/VigyBag/assets/122604770/fa45aa7a-8724-4c66-80cb-a16f9b1c68a4

— Reply to this email directly, view it on GitHub https://github.com/codervivek5/VigyBag/issues/988#issuecomment-2105027251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ7AVBCRAZGQUZNHRVXYX63ZBUCJJAVCNFSM6AAAAABHQYWNR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGAZDOMRVGE . You are receiving this because you commented.Message ID: @.***>

Jaivignesh-afk avatar May 11 '24 01:05 Jaivignesh-afk

Screenshot: 2024-05-11 104716 Sure, here are the changes that i made

Shadowsweep avatar May 11 '24 05:05 Shadowsweep

Maybe try setting an environment variable named SECRET_KEY

Jaivignesh-afk avatar May 11 '24 05:05 Jaivignesh-afk

Screenshot: 2024-05-11 104716 Sure, here are the changes that i made

is it working?

codervivek5 avatar May 11 '24 05:05 codervivek5

Not till yet

Shadowsweep avatar May 11 '24 11:05 Shadowsweep

Have you tried the environment variable?

Jaivignesh-afk avatar May 11 '24 11:05 Jaivignesh-afk

I have fixed this issue you try again

codervivek5 avatar May 12 '24 04:05 codervivek5

ok sir 👍

Shadowsweep avatar May 12 '24 13:05 Shadowsweep