Hi Satyam, Well, Celery is used for background tasks, like running requests to other services out of the response loop and such. Your question is confusing 'cause forms are used to validate user input and, well, there is no user in a background task.
What you can do is have a normal form attached to a view and, if the form `.is_valid()`, you call the celery function to do the whole processing of the registration form. Just be sure that, if your registration takes less than a second, it is not worth running in a background task. On Fri, Jul 20, 2018 at 1:53 AM, Satyam Mishra <satyam.hsmis...@gmail.com> wrote: > Hello, > > i want to integrate my django application with the celery ,i follow the > official documentation and some other blogs of celery but i'm not able to > find out that how to connect it with my django application for eg. i have a > user registration form then how i assign it to celery > > Thanks > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/873e9ec3-6eb8-4118-81cd-ee8373d3b1de%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/873e9ec3-6eb8-4118-81cd-ee8373d3b1de%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Julio Biason*, Sofware Engineer *AZION* | Deliver. Accelerate. Protect. Office: +55 51 3083 8101 <callto:+555130838101> | Mobile: +55 51 <callto:+5551996209291>*99907 0554* -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEM7gE3hjopMHaROzoV8mpOWcX-qzuZ%3Dhc1XVsgEMjkQH5sSkQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.