Traceback (most recent call last):
File "C:\Python24\lib\site-packages\django\core\handlers\base.py" in
get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "C:\Python24\lib\site-packages\django\contrib\auth\decorators.py"
in _checklogin
  14. return view_func(request, *args, **kwargs)
File "C:\django\redpy\reddit\views.py" in submit_link
  126. the_link = Link.objects.create_link(link = link, text = text,
user = user_id)
File "C:\django\redpy\reddit\models.py" in create_link
  9. link = Link(link=link, user = user, text = escape(text), votes =
0)

  TypeError at /submit/
  __init__() got an unexpected keyword argument 'text'

init is overriden as
    def __init__(self, *vargs):
        models.Model.__init__(self, *vargs)

If I do not overide __init__ everything goes fine.

On Sep 5, 11:17 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Show all exception dump


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to