diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-10-20 22:58:33 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-10-20 22:58:33 +0000 |
| commit | 81cbf27a13725f202743f02f2776d5613e2bf221 (patch) | |
| tree | 99fba783a7364d7fedac3b5ceaf06ff41ec67217 | |
| parent | 3e7ea41bbb30499701a86ddfad0331333e7d89ee (diff) | |
Fixed #668 -- Changed default site from mysite.com to example.com. Thanks, Ian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -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 564697776d..3b973c28da 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -299,7 +299,7 @@ def init(): cursor = db.db.cursor() for sql in get_sql_create(core) + get_sql_create(auth) + get_sql_initial_data(core) + get_sql_initial_data(auth): cursor.execute(sql) - cursor.execute("INSERT INTO %s (domain, name) VALUES ('mysite.com', 'My Django site')" % core.Site._meta.db_table) + cursor.execute("INSERT INTO %s (domain, name) VALUES ('example.com', 'Example site')" % core.Site._meta.db_table) except Exception, e: sys.stderr.write("Error: The database couldn't be initialized.\n%s\n" % e) try: |
