Re: [Django] #34115: Document RUN_MAIN environment variable

2022-10-24 Thread Django
#34115: Document RUN_MAIN environment variable
-+-
 Reporter:  johnthagen   |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Documentation|  Version:  4.1
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 The `RUN_MAIN` environment variable is a private API, not something that
 should be used or overwritten by users.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701840b2b06f5-6843a426-0aa9-47ac-a3f3-5afb1904ac02-00%40eu-central-1.amazonses.com.


[Django] #34115: Document RUN_MAIN environment variable

2022-10-24 Thread Django
#34115: Document RUN_MAIN environment variable
+
   Reporter:  johnthagen|  Owner:  nobody
   Type:  Cleanup/optimization  | Status:  new
  Component:  Documentation |Version:  4.1
   Severity:  Normal|   Keywords:
   Triage Stage:  Unreviewed|  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 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.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701840a957f8f-e8649875-067a-4ee9-b068-39bcb401d65d-00%40eu-central-1.amazonses.com.