Django

Code

Changeset 7598

Show
Ignore:
Timestamp:
06/08/08 13:18:01 (3 months ago)
Author:
jacob
Message:

Fixed #7394: fixed bug with syncdb and createsuperuser introduced in [7590]. Thanks, av0000@mail.ru

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/AUTHORS

    r7595 r7598  
    5858    Jökull Sólberg Auðunsson <jokullsolberg@gmail.com> 
    5959    Arthur <avandorp@gmail.com> 
     60    av0000@mail.ru 
    6061    David Avsajanishvili <avsd05@gmail.com> 
    6162    axiak@mit.edu 
  • django/trunk/django/contrib/auth/management/commands/createsuperuser.py

    r7590 r7598  
    4343            except validators.ValidationError: 
    4444                raise CommandError("Invalid email address.") 
    45             password = '' 
     45 
     46        password = '' 
    4647 
    4748        # Try to determine the current system user's username to use as a default. 
  • django/trunk/django/contrib/auth/management/__init__.py

    r7590 r7598  
    4343                continue 
    4444            if confirm == 'yes': 
    45                 call_command("createsuperuser"
     45                call_command("createsuperuser", interactive=True
    4646            break 
    4747