Djangokitのポートの決定方法がunsafeだとか

Djangokitで起動時のポートの決定がunsafeとコメントにあった。

# generate random port number, in what is almost certainly an
# unsafe way.
self.port = random.randrange(9000, 12000)

なるほどunsafeだ。