diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-07-21 02:20:40 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-07-21 02:20:40 +0000 |
| commit | 8d144dadd8b60a7ce803ebcb235718f06e2d5986 (patch) | |
| tree | a3d3e47165b91b84a148cc65d2b8cabcdef361af /django/core | |
| parent | d330be016927bacf5fcad337138741311ac7270e (diff) | |
Fixed #114 -- Changed uses of deprecated 'whrandom' module to 'random'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core')
| -rw-r--r-- | django/core/management.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management.py b/django/core/management.py index c15ecb817b..aeac118108 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -342,7 +342,7 @@ def _start_helper(app_or_project, name, directory, other_name=''): def startproject(project_name, directory): "Creates a Django project for the given project_name in the given directory." - from whrandom import choice + from random import choice _start_helper('project', project_name, directory) # Populate TEMPLATE_DIRS for the admin templates, based on where Django is # installed. |
