On Fri, Aug 20, 2010 at 12:40 PM, Pankaj Singh
<singh.pankaj.iitkg...@gmail.com> wrote:
> I am gettign this error but as per documentation
> http://www.djangoproject.com/documentation/0.96/model-api/#core this should
> not be a problem
>
> http://code.google.com/p/django-openid-auth/source/browse/trunk/openid_auth/models.py

Are you using django 0.96?

The latest is 1.2.1, but django-openid-auth seems old too.

Rolando Espinoza La fuente
www.insophia.com


> pan...@pankaj-laptop:~/django_projects/mysite$ ./manage.py syncdb
> Traceback (most recent call last):
>   File "./manage.py", line 13, in <module>
>     execute_manager(settings)
>   File
> "/home/pankaj/django_projects/mysite/django/core/management/__init__.py",
> line 438, in execute_manager
>     utility.execute()
>   File
> "/home/pankaj/django_projects/mysite/django/core/management/__init__.py",
> line 379, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/home/pankaj/django_projects/mysite/django/core/management/base.py",
> line 191, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/home/pankaj/django_projects/mysite/django/core/management/base.py",
> line 217, in execute
>     self.validate()
>   File "/home/pankaj/django_projects/mysite/django/core/management/base.py",
> line 245, in validate
>     num_errors = get_validation_errors(s, app)
>   File
> "/home/pankaj/django_projects/mysite/django/core/management/validation.py",
> line 28, in get_validation_errors
>     for (app_name, error) in get_app_errors().items():
>   File "/home/pankaj/django_projects/mysite/django/db/models/loading.py",
> line 146, in get_app_errors
>     self._populate()
>   File "/home/pankaj/django_projects/mysite/django/db/models/loading.py",
> line 61, in _populate
>     self.load_app(app_name, True)
>   File "/home/pankaj/django_projects/mysite/django/db/models/loading.py",
> line 78, in load_app
>     models = import_module('.models', app_name)
>   File "/home/pankaj/django_projects/mysite/django/utils/importlib.py", line
> 35, in import_module
>     __import__(name)
>   File "/home/pankaj/django_projects/mysite/openid_auth/models.py", line 10,
> in <module>
>     class UserOpenID(models.Model):
>   File "/home/pankaj/django_projects/mysite/openid_auth/models.py", line 14,
> in UserOpenID
>     user = models.ForeignKey(User, core=True, related_name="openids")
>   File
> "/home/pankaj/django_projects/mysite/django/db/models/fields/related.py",
> line 820, in __init__
>     Field.__init__(self, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'core'
>
>
> --
> --
> --
> --
> Thanking You,
>
> Pankaj Kumar Singh,
> 3rd Year Undergraduate Student,
> Department of Agricultural and Food Engineering,
> Indian Institute of Technology,
> Kharagpur
> Website - http://www.IamPankaj.in
> Email - cont...@iampankaj.in , singh.pankaj.iitkg...@gmail.com
> Mobile - (+91) 8001231685
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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