Skip to content

Using an alternative dict for settings (not REST_FRAMEWORK) #9351

Discussion options

You must be logged in to vote

We don't support that, no. Perhaps one approach would be running the different APIs as different processes with runserver pointed at a different Django settings module in each case? You'd also need to configure the frontend server (gunicorn or whatever) to route to each of the processes, doing that by hostname v2.myapi.com might be the reasonable approach.

(Just an idea, good luck with it)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tobiasgardner
Comment options

@tomchristie
Comment options

Answer selected by tobiasgardner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants