That was really smart of you, thanks... Here's the traceback, hope it
helps.
---
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "robot_parser.py", line 383, in update
news = Element(source = the_source, title = title, date =
date_published, short = short, full = full, link = link, slug =
the_slug)
news.save()
File "/lib/python2.5/django/db/models/base.py", line 323, in
__init__
raise TypeError, "'%s' is an invalid keyword argument for this
function" % kwargs.keys()[0]
TypeError: 'slug' is an invalid keyword argument for this function
---
On Dec 10, 12:21 am, bruno desthuilliers
<[email protected]> wrote:
> On 9 déc, 18:58, tezro <[email protected]> wrote:
> (snip)
>
>
>
> > That throws an error: TypeError: 'slug' is an invalid keyword argument
> > for this function.
>
> > What am I doing wrong?
>
> Not posting the full traceback - tracebacks are here to help debugging
> a problem, not to fill your term with random gibberish !-)
--
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.