Skip to content

Commit

Permalink
Update where imports go
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Jul 17, 2012
1 parent 92b0c51 commit 01bdee2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions milkman/generators.py
@@ -1,7 +1,15 @@
import datetime
import errno
import os
import random
import string
import sys
import uuid

from django.core.files.storage import DefaultStorage

from PIL import Image, ImageDraw


DEFAULT_STRING_LENGTH = 8
DECIMAL_TEMPLATE = "%%d.%%0%dd"
Expand Down Expand Up @@ -172,12 +180,6 @@ def random_time_string_maker(field):


def random_image(field):
from PIL import Image, ImageDraw
from django.core.files.storage import DefaultStorage
import random
import uuid
import os
import errno

color1 = (random.randint(0,255), random.randint(0,255), random.randint(0,255))
color2 = (random.randint(0,255), random.randint(0,255), random.randint(0,255))
Expand Down

0 comments on commit 01bdee2

Please sign in to comment.