Running Debian Lenny, I uninstalled Django 0.96-2, installed
Django beta 1, and downloaded Django-survey. The result of running
it is below. Any help appreciated, thanks.
-rex
XXX:~/djcode/django-survey-read-only$ python examples/manage.py runserver
Validating models...
Unhandled exception in thread started by <function inner_run at 0x85041b4>
Traceback (most recent call last):
File
"/usr/lib/python2.5/site-packages/django/core/management/commands/runserver.py",
line 47, in inner_run
self.validate(display_num_errors=True)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line
122, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.5/site-packages/django/core/management/validation.py",
line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line
128, in get_app_errors
self._populate()
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 57,
in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 72,
in load_app
mod = __import__(app_name, {}, {}, ['models'])
File "/home/rex/djcode/django-survey-read-only/survey/models.py", line 159,
in <module>
class Question(models.Model):
File "/home/rex/djcode/django-survey-read-only/survey/models.py", line 172,
in Question
null=True, blank= True, core=False)
File "/usr/lib/python2.5/site-packages/django/db/models/fields/files.py",
line 283, in __init__
FileField.__init__(self, verbose_name, name, **kwargs)
File "/usr/lib/python2.5/site-packages/django/db/models/fields/files.py",
line 131, in __init__
raise TypeError("'%s' is not a valid argument for %s." % (arg,
self.__class__))
TypeError: 'core' is not a valid argument for <class
'django.db.models.fields.files.ImageField'>.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---