Re: Push notification as like Udemy.

2021-03-13 Thread Kunal Solanke
Easiest way you can see libraries like fcm_djnago or pyfcm. Those use cloud messaging by firebase and other providers. On Sun, Mar 14, 2021, 09:20 Azharul Islam Somon < azharul.techfor...@gmail.com> wrote: > > Good day! > I am working on real-time push notification using Django. > Now, i have

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Azharul Islam Somon
Ok , Thank you so much. On Sat, Mar 13, 2021 at 5:31 AM Kasper Laudrup wrote: > On 13/03/2021 13.16, Azharul Islam Somon wrote: > > Thank you for your reply. I have set up my MEDIA_ROOT as like : > > MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images') > > > > What should I change, please? > >

Django debug toolbar database query stats, but when generating pdf files?

2021-03-13 Thread richard...@gmail.com
Hi, I find the identification of duplicate and similar database calls in the Django Debug Toolbar invaluable for optimizing database access. The information shows up in an overlay over html pages. Of course, the information cannot show up when I'm generating a pdf, though I can tell from the

Push notification as like Udemy.

2021-03-13 Thread Azharul Islam Somon
Good day! I am working on real-time push notification using Django. Now, i have seen few documentation, on sending push notification that's fine. But, i want to send the notification which will send to the user from server, for example While we login and buy a product as like Udemy, coursera

Re: NameError: name 'SignUpForm' is not defined

2021-03-13 Thread YAYA KONE
You must called file SignUpForm in your views and start server Le sam. 13 mars 2021 à 04:00, Desh Deepak a écrit : > Enter after line 6 write this: > from .forms import SignUpForm > > On Sat, 13 Mar 2021, 9:26 am Desh Deepak, wrote: > >> Need to import form >> >> >> Ex. From appname import

Re: I cant figure out this error

2021-03-13 Thread Kasper Laudrup
On 13/03/2021 14.47, Chetan Ganji wrote: > Good Read! > Thanks Kasper  > No problem. I'm not the author, but feel free to post it whenever someone posts "questions" like the one I replied to. I think at least half of the people asking questions here should read it. So many questions here

Re: I cant figure out this error

2021-03-13 Thread Chetan Ganji
Good Read! Thanks Kasper  On Sat, Mar 13, 2021, 5:58 AM Kasper Laudrup wrote: > > https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Kasper Laudrup
On 13/03/2021 13.16, Azharul Islam Somon wrote: > Thank you for your reply. I have set up my MEDIA_ROOT as like : > MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images') > > What should I change, please?  > That's up to you to decide, but you don't want it to be the same path as your static

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Azharul Islam Somon
Thank you for your reply. I have set up my MEDIA_ROOT as like : MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images') What should I change, please? On Sat, Mar 13, 2021 at 4:20 PM Kasper Laudrup wrote: > On 13/03/2021 06.22, Azharul Islam Somon wrote: > > I have successfully run on my local

Re: NameError at /account/signup/

2021-03-13 Thread Mohammad Anarul
You did not import the signup form. So showing errors On Sat, Mar 13, 2021 at 5:48 AM Eduardo Agreda López < eduardoagred...@gmail.com> wrote: > Do you have create the SingUpForm. If you use Django auth model, can you > create the forms.py file and import this path: > > from

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Kasper Laudrup
On 13/03/2021 06.22, Azharul Islam Somon wrote: > I have successfully run on my local matching. I start installing with > "|pip install django-helpdesk| " and followed rest of the step and from > https://django-helpdesk.readthedocs.io/en/0.2.x/install.html >

Re: Migrating a code written in flask framework to django.

2021-03-13 Thread Kasper Laudrup
On 13/03/2021 06.02, GEETHANJALI S P wrote: > Hi.. > https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/Python > > I see. This looks like some sample code intended to be used for inspiration on how to

Re: Why does my django form with recaptcha send data even empty the recaptcha?

2021-03-13 Thread Sergei Sokov
html {% csrf_token %} {{form.choice_services}} {{form.name}} {{form.telephone_number}} {{form.email}} {{form.message}} {{form.contact_text}} {{ form.captcha }}