Saturday, August 10, 2019

Re: How to build users tagging system in my comment textarea.

You would probably need AJAX calls. I think there's a package called Django-autocompletelite which can help you with this. So, in your HTML, you can use use AJAX to see when a user types the @ character with a single letter and then show a box with some usernames with that.

On Sat, Aug 10, 2019 at 3:31 AM Ashutosh Kumar <g.oneashu@gmail.com> wrote:
Hi Guys,

I need help in adding user tagging feature in comment textarea, like how to get the users list pops out on the keypress "@". 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAcNNf%2BjK%3DK9EopJ_O_Yjf6RXUMzZAWJfN7RJTeBYYpEQ4cVkQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJVmkNnH18feOURis6Lq6ohLc0_c%2BgNw5gVD0qzoRWGAWC0QiA%40mail.gmail.com.

No comments:

Post a Comment