Re: can any one help

2022-12-26 Thread Eng Thanoon
Don't understand questions perfect. But if your question is you have list and make pdf Then try to generate new pdf from items You want the new pdf have only new items ( not include old items in new pdf ) ? You can add( is_add_to_pdf ) bool field to your items and make it true when added to pdf Th

Re: How to allow user to delete their own profile after login with their default id.

2022-12-25 Thread Eng Thanoon
from django.contrib.auth import authenticate def delete_account(request): if request.method == "POST": email = request.POST.get('email') password = request.POST.get('pswd1') u = User.authenticate(request=request,email=email,password=password) #this will check

Re: How to allow user to delete their own profile after login with their default id.

2022-12-25 Thread Eng Thanoon
from django.contrib.auth import authenticate def delete_account(request): if request.method == "POST": email = request.POST.get('email') password = request.POST.get('pswd1') u = User.authenticate(request=request,email=email,password=password) #this will check

Re: CRUD using firebase

2022-12-24 Thread Eng Thanoon
hi follow this introduction: https://www.youtube.com/watch?v=DCaH4bQ4DxA any problem alert me On Tuesday, 20 December 2022 at 20:13:10 UTC+3 josedur...@gmail.com wrote: > i'm a newbie in this framework. I need information about how to create a > C

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Eng Thanoon
*** views.py from rest_framework import generics,permissions class NotifyDestroy(generics.DestroyAPIView): """delete current user """ permission_classes=[permissions.IsAuthenticated] serializer_class=user_delete_ser queryset=User.objec

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Eng Thanoon
i sent message before bot never being accept from admins , don't now why ??? On Saturday, 24 December 2022 at 20:21:07 UTC+3 Ryan Nowakowski wrote: > Well it looks like you have a good start. What, in particular, isn't > working? It would help if you can post the corrected code and any error >

my replies approved from admins

2022-12-24 Thread Eng Thanoon
i'v been sent two replies from more than 2 hours ago ( almost at 9:40 GMT) and never being posted right now anyone know why ??? -- 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,

Need Someone Exchange Experience

2022-12-19 Thread Eng Thanoon
hi all my dears I am working on social media auth and mobile sms auth firebase and Django want go far with Django level up anyone interest in Django contact me -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and