WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.51k stars 333 forks source link

why using django admin to set openai api key instead of .env #75

Closed handhikadj closed 1 year ago

handhikadj commented 1 year ago

using .env will be much more easier to set. We've had the CSRF issues on django admin JUST to set the OpenAI API Key which should be fairly simple to do. using django admin just complicate stuff IMO

WongSaang commented 1 year ago

The original intent of this project was to support multiple users and data persistence, and the purpose of the admin panel is more than simply setting variables.

If you just want to use a simple client, I'm sure there are many alternatives.