Hi,

I'm a total newbie to Django and I'm trying to follow the build your first 
app tutorial from the site 
https://docs.djangoproject.com/en/1.1/intro/tutorial01/ but have soon run 
into problems, please see below. This is as a result of running the  python 
manage.py runserver command. 

If anyone can help, I believe I'm running version 1.1 of django, not sure 
what else you may want to know.

Thanx,

python manage.py runserver
Validating models...

Unhandled exception in thread started by <bound method Command.inner_run of 
<django.contrib.staticfiles.management.commands.runserver.Command object at 
0x10114d0d0>>
Traceback (most recent call last):
  File 
"/Users/timmorris/Sites/django/django-trunk/django/core/management/commands/runserver.py",
 
line 91, in inner_run
    self.validate(display_num_errors=True)
  File 
"/Users/timmorris/Sites/django/django-trunk/django/core/management/base.py", 
line 277, in validate
    num_errors = get_validation_errors(s, app)
  File 
"/Users/timmorris/Sites/django/django-trunk/django/core/management/validation.py",
 
line 32, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File 
"/Users/timmorris/Sites/django/django-trunk/django/db/models/loading.py", 
line 163, in get_app_errors
    self._populate()
  File 
"/Users/timmorris/Sites/django/django-trunk/django/db/models/loading.py", 
line 69, in _populate
    self.load_app(app_name, True)
  File 
"/Users/timmorris/Sites/django/django-trunk/django/db/models/loading.py", 
line 93, in load_app
    models = import_module('.models', app_name)
  File 
"/Users/timmorris/Sites/django/django-trunk/django/utils/importlib.py", 
line 35, in import_module
    __import__(name)
  File 
"/Users/timmorris/Sites/django/django-trunk/django/contrib/auth/models.py", 
line 18, in <module>
    from django.contrib.contenttypes.models import ContentType
  File 
"/Users/timmorris/Sites/django/django-trunk/django/contrib/contenttypes/models.py",
 
line 125, in <module>
    class ContentType(models.Model):
  File 
"/Users/timmorris/Sites/django/django-trunk/django/db/models/base.py", line 
64, in __new__
    new_class.add_to_class('_meta', Options(meta, **kwargs))
TypeError: Error when calling the metaclass bases
    __init__() keywords must be strings

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/xxWivGGykWYJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to