On Feb 7, 11:22 am, coded kid <duffleboi...@gmail.com> wrote:
> Thanks so much kelly! You rock. Will give it a try!
>
> On Feb 7, 4:18 am, Kelly Nicholes <kelbolici...@gmail.com> wrote:
>
>
>
> > This is link holds the PERFECT answer for you:http://bit.ly/wc0psc
>
> > If you want to do it differently, try:
>
> > First you'll have to send an XMLHttpRequest (jQuery post() or get())
> > to your server to post a form (create a modelform with a "Comment"
> > model with all of the required fields. You might want to look into
> > generic content types for django models). Save the comment out
> > (associate it with the user from the request) in your view. Then add
> > a link to do a comment (if you want you can do fancy html5 stuff with
> > the "editable" property on some div). The click the link, dynamically
> > (use jquery) to show another form (or create it if you'd like). When
> > they submit the friend comment, associate that friend comment with the
> > original comment (you could parse this out of the ID attribute that
> > you could set on the original comment) and save it just as you did the
> > first... Or just look for premade things...
>
> > You could look into django's built-in comment systemhttps://docs.djangoproject.com/en/1.2/ref/contrib/comments/example/
> > Here's one called django-facebook-commentshttps://bitbucket.org/sirpengi/django-facebook-comments
>
> > On Jan 23, 4:38 am, coded kid <duffleboi...@gmail.com> wrote:
>
> > > Please how can I get user post update, make their friends comment and
> > > share the update in django? Just like the way FB update is. I hope you
> > > get my point? Thanks so much
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment