Dotini configuration error

Having configured the dotini_win.ini as indicated:

[PROD]

SECRET_KEY = what i shouled put here?

MFLIX_DB_URI = mongodb+srv://m220student:m220password@******.mongodb.net/test?retryWrites=true&w=majority

MFLIX_NS = sample_mflix

[TEST]

MFLIX_DB_URI = mongodb+srv://m220student:m220password@*******.mongodb.net/test?retryWrites=true&w=majority

SECRET_KEY =what i shouled put here?

MFLIX_NS = sample_mflix

I get the next error:
Captura

I dont know what i should write in “SECRET_KEY”

Did you changed the name as indicated?

1 Like

Yes, to dotini_win.ini.

Well, unless the instructions have change since I took the course, it was indicated the following:

Rename dotini_win or dotini_unix to .ini . You can do this by running the following command from the mflix-python directory.

1 Like

Oh, tyvm! i was thinking that i had to change only the extension: using .ini instead of dotini_win.ini works