﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34115	Document RUN_MAIN environment variable	johnthagen	nobody	"When doing some research into how to control how code should run in the ready function, I came across a reference to the {{{RUN_MAIN}}} environment variable that seems to only be set when the main server is executed (not when the reload server is executed, or other management commands are run).

When I searched for {{{RUN_MAIN}}} in the main Django documentation, I didn't find any hits. I was hoping there would be official documentation on when this environment variable is designed to be used / when it can be relied on."	Cleanup/optimization	closed	Documentation	4.1	Normal	wontfix			Unreviewed	0	0	0	0	0	0
