version info:
django svn version, freebsd 7.0, python 2.5.2
settings.py:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'mysite.polls',
)
the os stdout:
[root@django /data/mysite]# python manage.py syncdb
Creating table auth_message
Creating table auth_group
Creating table auth_user
Creating table auth_permission
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table polls_poll
Creating table polls_choice
You just installed Django's auth system, which means you don't have
any superusers defined.
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'root'): root
E-mail address:
fd...@fdsfsd.cc
Password:
Password (again):
Superuser created successfully.
Installing index for auth.Message model
Installing index for auth.Permission model
Installing index for admin.LogEntry model
Installing index for polls.Choice model
Error: One or more models did not validate:
auth.group: "admin.list_display" refers to '__ipow__', which isn't an
attribute, method or property.
Karen, thank you.
On 5月30日, 下午9时22分, "Karen Tracey" <
kmtra...@gmail.com> wrote: