Make a relation ManyToMany between user and article, adding to
favorite (in your example)  is creating record with userId and
ArticleId.

2006/11/11, Jamie Pittock <[EMAIL PROTECTED]>:
>
> Sorry, I didn't mean add to your browser favourites.
>
> I meant more of a feature built into a website where users can mark an
> article/entry as a "favourite" to store or read later.  that kind of
> thing.
>
>
> Russell Keith-Magee wrote:
> > On 11/10/06, Jamie Pittock <[EMAIL PROTECTED]> wrote:
> > >
> > > I'm learning Django and Python as I go.  A long shot but does anyone
> > > know of some site code that's been released with some kind of "add to
> > > favorites" feature?  I know, it's cheating but I learn much quicker
> > > from examples.
> >
> > This isn't a feature that is (or should be) part of Django or Python -
> > it's a Javascript method that manipulates the window object. Put the
> > relevant javascript in your page template, and Django will serve a
> > page with that functionality.
> >
> > > Or alternatively any relevant resources that might help?
> >
> > In this case - Google.
> >
> > More broadly - the Rhino book (Javascript complete reference from
> > O'Reilly) is pretty much as good as it gets for Javascript references.
> >
> > Yours,
> > Russ Magee %-)
>
>
> >
>

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