Django

Code

Changeset 984

Show
Ignore:
Timestamp:
10/20/05 17:58:33 (3 years ago)
Author:
adrian
Message:

Fixed #668 -- Changed default site from mysite.com to example.com. Thanks, Ian

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/management.py

    r948 r984  
    300300        for sql in get_sql_create(core) + get_sql_create(auth) + get_sql_initial_data(core) + get_sql_initial_data(auth): 
    301301            cursor.execute(sql) 
    302         cursor.execute("INSERT INTO %s (domain, name) VALUES ('mysite.com', 'My Django site')" % core.Site._meta.db_table) 
     302        cursor.execute("INSERT INTO %s (domain, name) VALUES ('example.com', 'Example site')" % core.Site._meta.db_table) 
    303303    except Exception, e: 
    304304        sys.stderr.write("Error: The database couldn't be initialized.\n%s\n" % e)