thinkserver/thinks/random_slug.py

6 lines
220 B
Python

from random import choice
words = 'avocado biscuit chocolate doughnut eclaire fudge goulash haddock icing juice koala lemon melon nut'.split(' ')
def random_slug():
return '-'.join(choice(words) for i in range(3))