Reputation: 16560
I have some initialization code that I would like Django to run once, when the site is created.
Would it be appropriate to hook this code into a syncdb signal? If so, where would this signal go? But won't think run the code several times if I syncdb multiple times?
Upvotes: 0
Views: 307