Changeset 262
- Timestamp:
- 07/20/05 21:20:40 (3 years ago)
- Files:
-
- django/trunk/django/core/management.py (modified) (1 diff)
- django/trunk/django/models/auth.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/management.py
r261 r262 343 343 def startproject(project_name, directory): 344 344 "Creates a Django project for the given project_name in the given directory." 345 from whrandom import choice345 from random import choice 346 346 _start_helper('project', project_name, directory) 347 347 # Populate TEMPLATE_DIRS for the admin templates, based on where Django is django/trunk/django/models/auth.py
r234 r262 173 173 # Note that default value of allowed_chars does not have "I" or letters 174 174 # that look like it -- just to avoid confusion. 175 from whrandom import choice175 from random import choice 176 176 return ''.join([choice(allowed_chars) for i in range(length)]) 177 177
