What is the Django “runonce-per-db” flag?
I see it mentioned in this thread, but cannot find any documentation for it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think it’s django code.
runoncedoesn’t appear in the source.He’s just saying he needs to set a flag (which he’s referring to as runonce-per-db) because
post_syncdbis emitted for every app and presumably his code needs to fire only once.