Django Mails

2020-03-22 Thread mick
I want the admin and the user themselves both to verify the mail on the user registration.And then only the user is being validated. -- 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 i

Re: Please help me while i am connecting mysql database to django lroject iam getting following error

2020-03-22 Thread fahad rasool
Thanks brother it really works!!☺️😊 On Sun, 22 Mar 2020, 10:54 pm Motaz Hejaze, wrote: > There is a leading space in ' localhost'.. > Remove it > > On Sun, 22 Mar 2020, 6:59 pm fahad rasool, > wrote: > >> Please help me while i am connecting mysql database to django lroject >> iam getting fol

Re: Please help me while i am connecting mysql database to django lroject iam getting following error

2020-03-22 Thread Motaz Hejaze
There is a leading space in ' localhost'.. Remove it On Sun, 22 Mar 2020, 6:59 pm fahad rasool, wrote: > Please help me while i am connecting mysql database to django lroject iam > getting following error > > -- > You received this message because you are subscribed to the Google Groups > "Djan

Extracting Month from date during a query

2020-03-22 Thread Eswar Subramanyam
I am using MongoDB as underlying DB with Django. pipeline = { 'price' : Sum('price'), 'month' : ExtractMonth('dateValue'), } queryset = ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline) Unfortuantely i get a NotImplementError,

Re: Uploading images from media folder during runtime.

2020-03-22 Thread Sandip Nath
MMK, That is the solution for static files, not the dynamic one. How to upload images dynamically during runtime, such as the user uploads his/her profile image. On Sunday, 22 March 2020 00:21:10 UTC+5:30, Sandip Nath wrote: > > I am developing a car rental app. I have esigned it such a way that

Re: Django mail

2020-03-22 Thread Antje Kazimiers
Couldn't you also set up cron jobs to check for some conditions you have to come up with, which are using the fields of your User model like date_joined and check, if fields of your user profile are filled in with respect to the created date of your profile? I would start with writing some django

Re: Django mail

2020-03-22 Thread DHRUVA
Hey thanks The events would be like if they haven't verified their profile after signup then in 24 hours still not done after 3 days.So then the same with the profile build up if they have filled half then a Mail to complete. Thanks On Sun, 22 Mar, 2020, 4:23 PM Kasper Laudrup, wrote: > Hi Mik

Re: Django mail

2020-03-22 Thread Kasper Laudrup
Hi Mike, On 22/03/2020 11.01, DHRUVA wrote: Thanks But how to do scheduling of the mails automatically on the basis of the events. You might be able to handle this with Django signals: https://docs.djangoproject.com/en/3.0/topics/signals/ But since you've mentioned you want events to be t

Re: User Athentication Issue

2020-03-22 Thread Irfan Khan
Thank you. got it now With Regards, *Irfan khan* On Sun, 22 Mar 2020 at 03:16, Juan J. Moreno Piña < prof.juanj.mor...@gmail.com> wrote: > I would suggest you to look at Django user authentication , please > chech tis documentation to understand its approach. > > https://developer.mozilla.or

Re: how to calculate appreciation and depreciation with the use of forms

2020-03-22 Thread Ernest Thuku
Thank you so much let me go through it. On Sun, Mar 22, 2020 at 12:58 AM Will Meyers wrote: > We would need more information if you're having a specific issue, but > general if I were building something of that sort I would be using celery > to perform all the ca

Re: Django mail

2020-03-22 Thread DHRUVA
Thanks But how to do scheduling of the mails automatically on the basis of the events. On Sun, 22 Mar, 2020, 3:15 PM Kasper Laudrup, wrote: > Hi Mick, > > On 22/03/2020 10.19, mick wrote: > > I am using django rest auth I want to fire a mail to the user if the > > user hasn't verified in one day

Re: Django mail

2020-03-22 Thread Kasper Laudrup
Hi Mick, On 22/03/2020 10.19, mick wrote: I am using django rest auth I want to fire a mail to the user if the user hasn't verified in one day after sign up automatically. How to do ? https://docs.djangoproject.com/en/3.0/topics/email/ Kind regards, Kasper Laudrup -- You received this mes

Django mail

2020-03-22 Thread mick
I am using django rest auth I want to fire a mail to the user if the user hasn't verified in one day after sign up automatically. How to do ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: Uploading images from media folder during runtime.

2020-03-22 Thread mmk mmk
you must use load static tag in your templates as follow: {% load static %} i hope this solve the problem for more info refer to django official docs https://docs.djangoproject.com/en/3.0/howto/static-files/ regards On Sun, Mar 22, 2020 at 7:19 AM Sandip Nath wrote: > Sir thank you for your