Re: Python Django Training

2020-12-16 Thread Saswat Ray
Pls add me

On Wed, 16 Dec 2020, 10:26 pm Nagaraju Singothu, <
nagarajusingoth...@gmail.com> wrote:

> I'm also interested sir, Plz add me I'm from hyderabad
>
> On Mon 7 Dec, 2020, 1:40 PM narendra thapa, 
> wrote:
>
>> hello please add me also in training group?
>>
>>
>> On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam 
>> wrote:
>>
>>> Hi,
>>> I also from Hyderabad and I'm also interested in the training. please
>>> tell me how to join?
>>>
>>> Regards,
>>> Bharati
>>>
>>> On Thu, 20 Feb, 2020, 6:19 PM Thiagu Palaniappan, <
>>> thiagarajan@gmail.com> wrote:
>>>
 I'm also interested. Please add me in the group.


 Thanks & Regards,
 Thiagu

 On Mon, Feb 17, 2020 at 12:41 AM Akshay Raul 
 wrote:

> I am interested also. Please let me know the details.
>
> On Sat 1 Feb, 2020, 2:42 PM Srikanth K,  wrote:
>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager
>> take up any Python , Django Training (online Preferrable or Weekends).
>> Members who require can contact me or share me  there idea.
>>
>> Regards,
>> Srikanth.K
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEd%2Bv%3D0gE2dEMXKJ0Nm8FcH2ZxUPAdQspkQKB%2Bg5pZbSc_uZnQ%40mail.gmail.com
> 
> .
>


 --

 Thanks & Regards,

 *Thiagu Palaniappan*

 M +91 (0) 9994318799

 *DXC Technology*
 8th Floor, Tower 1 B DLF IT Park, 1/124 - Shivaji Garden, Nandambakkam
 post, Ramapuram, Chennai - 600 089.

 dxc.technology  / Twitter
  / Facebook
  / LinkedIn
 

 --
 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 view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAK%3DQXNMzH-iL6BQ3_vfrvTpeY%2BSe5%3DbZm9h5wPW_Dw%2BM2BsvQg%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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAPGVBeOgomb94NXAm347QqGcJ%3D3MzxULU7eQnY-M56EbC2D9vg%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEtntjXVaVAyDCJJzS748zfNVm242U%2B6vsFkynevf5ghnPgDhw%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMyGuAbvEsXwNB5_Kwj7HwGtfpjR7e29YytETZZbeqEd4UXW4A%40mail.

Re:

2019-11-28 Thread Saswat Ray
Django app expects a response from your  view file to render and show to
user.You need add a template to render. like in views.py
return render(request, "xyz.html")

https://docs.djangoproject.com/en/2.2/topics/http/shortcuts/


render
*Thanks*,
*Saswat*





On Thu, Nov 28, 2019 at 5:35 PM vaneet bawa  wrote:

> Exception Type: TemplateDoesNotExist
>
> Could someone please tell me that i m getting this error how I can handle
> it...
>
> what i m trying to do is i have created a input field and in that field i
> m providing a message and then i want that on button click that message
> should be displayed on my console
>
> Best Regards
> Vaneet
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKubXnzO%3DQizgnNaHWZoYwxXWMjCbj-bzkbxmOzcV6WZsyO_Ow%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLEJrcfCXsj3C-i058ABE0_1i7Hd%3DCBbS84A9DtqbYa3aQ%40mail.gmail.com.


Re:

2019-11-28 Thread Saswat Ray
Without looking your code and folder structure its hard to tell.

*Thanks*,
*Saswat*




On Thu, Nov 28, 2019 at 5:59 PM vaneet bawa  wrote:

> First of all thanks Saswat for the response but i have already done this
> thing on my views.py but my html file is not displaying anything rather it
> throws an exception templatedoesnot exit
>
> I hope you are geeting what i am saying
>
> Best Regards
> Vaneet
>
>
>
> On 28-Nov-2019, at 5:42 PM, Saswat Ray  wrote:
>
> 
> Django app expects a response from your  view file to render and show to
> user.You need add a template to render. like in views.py
> return render(request, "xyz.html")
>
> https://docs.djangoproject.com/en/2.2/topics/http/shortcuts/
>
>
> render
> *Thanks*,
> *Saswat*
>
>
>
>
>
> On Thu, Nov 28, 2019 at 5:35 PM vaneet bawa 
> wrote:
>
>> Exception Type: TemplateDoesNotExist
>>
>> Could someone please tell me that i m getting this error how I can handle
>> it...
>>
>> what i m trying to do is i have created a input field and in that field i
>> m providing a message and then i want that on button click that message
>> should be displayed on my console
>>
>> Best Regards
>> Vaneet
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKubXnzO%3DQizgnNaHWZoYwxXWMjCbj-bzkbxmOzcV6WZsyO_Ow%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKubXnzO%3DQizgnNaHWZoYwxXWMjCbj-bzkbxmOzcV6WZsyO_Ow%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEhPkLEJrcfCXsj3C-i058ABE0_1i7Hd%3DCBbS84A9DtqbYa3aQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAEhPkLEJrcfCXsj3C-i058ABE0_1i7Hd%3DCBbS84A9DtqbYa3aQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/205D5E6D-03B1-48A8-BE44-1DEDE11BFE8A%40gmail.com
> <https://groups.google.com/d/msgid/django-users/205D5E6D-03B1-48A8-BE44-1DEDE11BFE8A%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLGRUow9DiNU4qnmxgZqAvmbp__xXWNOZto5u-8BnABWkQ%40mail.gmail.com.


Unit test in django

2019-12-02 Thread Saswat Ray
*def webhook_register(request, organization_pk, campaign_id):user_id =
Campaign.objects.filter(id=campaign_id)user_id =
user_id[0].__dict__["user_id"]# social_user_details =
UserSocialAuth.objects.filter(provider=request.GET["provider"],
user_id=user_id)social_user_details =
UserSocialAuth.objects.filter(provider="shopify", user_id=user_id)shop
= social_user_details[0].__dict__['extra_data']['shop']
SOCIAL_AUTH_ACCESS_TOKEN =
social_user_details[0].__dict__['extra_data']['access_token']# shop =
'store-adi.myshopify.com 'headers = {
  "X-Shopify-Access-Token": SOCIAL_AUTH_ACCESS_TOKEN,"Accept":
"application/json","Content-Type": "application/json",}
payload = {"webhook": {"topic": "orders/create",
"address": "https://%s/webhook/receiver/shopify/%s"; % (NGROK_DOMAIN,
campaign_id),"format": "json"}}response =
requests.post("https://"; + shop + "/admin/api/2019-10/webhooks.json",
data=json.dumps(payload), headers=headers)   #
print(response.content)return HttpResponse('success')*


*i am writing unitest for the above function,there are some Factory and
fakers method is used. I am looking how i can convert this *
user_id = Campaign.objects.filter(id=campaign_id)

to equivalent statment for unit test using  CampaignFactory method .



*Thanks*,
*Saswat*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLEVGr6P4w78KD%2BPbP0%3DeNYFcFWQZaFOAyQJm_GkGJjGVw%40mail.gmail.com.


Re: MultiValueDictKeyError at /add 'radio2'

2019-12-26 Thread Saswat Ray
https://stackoverflow.com/questions/5895588/django-multivaluedictkeyerror-error-how-do-i-deal-with-it

*Thanks*,
*Saswat*




On Wed, Dec 25, 2019 at 7:08 PM shree hari  wrote:

> error: https://del.dog/engigywarf.txt
> code: https://del.dog/cringanuwa.txt
>
> can someone help with me this ?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/38aa273e-9d81-4dc1-a5ad-2ef9691997e8%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLEzO52QhvXuGYiYQuQrohbUamTcqNWswkt9Vr8hkf47RA%40mail.gmail.com.


Authentication of Zendesk

2020-01-08 Thread Saswat Ray
Hi I want to authenticate Zendesk with my apps.Anyone know how to do in
DJANGO


*Thanks*,
*Saswat*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLGt_qpxCP7f2LXQ9ZJL5jaCSaUpCO_eeADaD5syB4g1_A%40mail.gmail.com.


Re: Authentication of Zendesk

2020-01-08 Thread Saswat Ray
Thanks Kasper.



*Thanks*,
*Saswat*




On Wed, Jan 8, 2020 at 4:39 PM Kasper Laudrup  wrote:

> Hi Saswat,
>
> On 08/01/2020 11.52, Saswat Ray wrote:
> > Hi I want to authenticate Zendesk with my apps.Anyone know how to do in
> > DJANGO
> >
>
> Zendesk seems to support OAuth:
>
>
> https://support.zendesk.com/hc/en-us/articles/203663836-Using-OAuth-authentication-with-your-app
>
> Combining that with Django OAuth should probably do the trick:
>
> https://django-oauth-toolkit.readthedocs.io/en/latest/
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d7822d3c-68d4-1e4e-77b2-8363fc988bfb%40stacktrace.dk
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLHc82Jgt9zhbeh1my90vUhvFDA0JOnr-FdBk-3QytfV5A%40mail.gmail.com.


Django Hands On with Industry Oriented application

2020-02-12 Thread Saswat Ray
Hi,

I am starting a new online batch to make student or professional to learn
this most sought after web development experience.Let me know if anyone
interested.Its a weekend online paid session.After successfully completed
the session with task, i can refer candidates to my connections(please note
i am not guarantee any job, i will help candidate to make right decision
and make them industry ready).


*Thanks*,
*Saswat*

https://www.linkedin.com/in/saswat-ray-27313316/
https://www.quora.com/profile/Saswat-Ray
https://github.com/raysaswat

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLHPJM3-umuZs45GOviCPXdziVOCd%2BsnaHxHjLw-Jr2VaA%40mail.gmail.com.


Re: Django Hands On with Industry Oriented application

2020-02-12 Thread Saswat Ray
Please contact to 8885505922 for detail or direct mail me your contact
number

*Thanks*,
*Saswat*

https://www.linkedin.com/in/saswat-ray-27313316/
https://www.quora.com/profile/Saswat-Ray



On Thu, Feb 13, 2020 at 12:30 PM paarull shukla 
wrote:

> Heloo sir I want to join ur session please let me know how much charge I
> have to make and where.
>
> On Thu, 13 Feb, 2020, 11:50 AM Saswat Ray,  wrote:
>
>> Hi,
>>
>> I am starting a new online batch to make student or professional to learn
>> this most sought after web development experience.Let me know if anyone
>> interested.Its a weekend online paid session.After successfully completed
>> the session with task, i can refer candidates to my connections(please note
>> i am not guarantee any job, i will help candidate to make right decision
>> and make them industry ready).
>>
>>
>> *Thanks*,
>> *Saswat*
>>
>> https://www.linkedin.com/in/saswat-ray-27313316/
>> https://www.quora.com/profile/Saswat-Ray
>> https://github.com/raysaswat
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEhPkLHPJM3-umuZs45GOviCPXdziVOCd%2BsnaHxHjLw-Jr2VaA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAEhPkLHPJM3-umuZs45GOviCPXdziVOCd%2BsnaHxHjLw-Jr2VaA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACLQzsc0wbtrCpJy_%3DR6%2BiaE89bSwuym7CdHqhyh_79cM%2BcM%2BA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACLQzsc0wbtrCpJy_%3DR6%2BiaE89bSwuym7CdHqhyh_79cM%2BcM%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLGWxxQd24Jm4XAk1E_-%2BLHdjVtTrqNv5hri3v8ZdGutjg%40mail.gmail.com.


Help on passing model field as function argument

2020-02-19 Thread Saswat Ray
Hi All,

*Views.py :*
class DASDataViewSet(viewsets.ModelViewSet):
queryset = DASData.objects.all()
serializer_class = DASDataSerializer

def create(self, request, *args, **kwargs):
try:
das_data = {
'patient': request.data['patient'],
'hexa_data': request.data['hexa_data'],
'device_id': request.data['device_id'],
}
serializer = DASDataSerializer(data=das_data)
if serializer.is_valid():
serializer.save()
self._numeric_conversion(serializer)
#self._start_monitoring(request.data['patient'])
return Response("Success", status=status.HTTP_201_CREATED)
except DASData.DoesNotExist:
return Response("Failed to persist device data",
status=status.HTTP_400_BAD_REQUEST)

@staticmethod
*def _start_monitoring(patient_id, presentation_mode):# should be like
this*
with open(os.path.join(constants.LOG_DIR, "%s.lck" %
str(patient_id)), 'w+'):
pass
p = Pipeline()
   # p.startmonitor(patient_id)
*p.startmonitor(patient_id, presentation_mode) # should be like
this*
*---*
*models.py:*

class Patients(models.Model):
GENDER_CHOICES = (
('M', 'Male'),
('F', 'Female'),
)
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255)
gender = models.CharField(max_length=1, choices=GENDER_CHOICES)
age = models.IntegerField()
height = models.IntegerField()
weight = models.DecimalField(max_digits=5, decimal_places=2)
bmi = models.DecimalField(max_digits=5, decimal_places=2, null=True)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
*presentation_mode* = models.CharField(max_length=20,
default='sleeping')

*Doubt :*
In the view.py, i would like to add "presentation_mode" in
p.startmonitor(patient_id) like p.startmonitor(patient_id,
presentation_mode) but "presentation_mode" is the field of Patients model
as shown above but DASDataViewSet we are using "DASData" model.

*How can i fetch "presentation_mode" as argument
to p.startmonitor(patient_id) which is field of Patients model.?*



*Thanks*,
*Saswat*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLFs3imguC4SXahLHy6aM1-sGWc0wu22CTtX553skF%2Bgyg%40mail.gmail.com.


Re:

2020-02-22 Thread Saswat Ray
Nope

*Thanks*,
*Saswat*

https://www.linkedin.com/in/saswat-ray-27313316/
https://www.quora.com/profile/Saswat-Ray



On Sat, Feb 22, 2020 at 7:39 PM Suraj Kumar 
wrote:

> Do you know Automation through Python.
> I want to learn automation tools.
>
> Tools like appium, selenium
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACCwaoVZuL2awcQyPo0YPHaaB3k51PsxbN70NOJotXyctaYvCA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACCwaoVZuL2awcQyPo0YPHaaB3k51PsxbN70NOJotXyctaYvCA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLHN8WAeeThjApE851t9k5jSvoKhwzUZjUxxZ_d-Lg31Eg%40mail.gmail.com.


Re: Asking for help

2020-03-19 Thread Saswat Ray
Hi,
Please try to post on linkedin as well.It may help


*Thanks*,
*Saswat*





On Fri, Mar 20, 2020 at 6:58 AM Motaz Hejaze  wrote:

> Hi guys ,
> How are you all ?
> Hope you are all fine ..
> Guys i am now for 3 months without any job nor any income , and the news
> about corona make me fear that this period may increase , this will be very
> because i have a daughter to support ..
>
> I didnt want to write such a post , but anyone can help with a job will
> make a great help ...
>
>
> Thank you all ..
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/71df5876-2a3f-4f3e-bf5a-4fa754254710%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLGYT8fRnHjujA-iOSaMvATKbwcSANa1%3DEEQexjp%3DKwt9w%40mail.gmail.com.


Re: Looking for Django developers to work on a new and an existing project with our team

2020-03-31 Thread Saswat Ray
Hi,
Interested.

*Thanks*,
*Saswat*

https://www.linkedin.com/in/saswat-ray-27313316/
https://www.quora.com/profile/Saswat-Ray



On Tue, Mar 31, 2020 at 7:10 PM Juan J. Moreno Piña <
prof.juanj.mor...@gmail.com> wrote:

> available now, I'm located remote
> Juan
>
> *Teaching to learn *
> *Trading to survive*
> *M.Sc. Juan J. Moreno*
> En Venezuela (Maracaibo)
> Skype:studiom2j
> Tel (Italy): +39 02320628565
>
>
>
>
>
>
> El lun., 30 de mar. de 2020 a la(s) 07:56, Satish Pal (
> satishpal...@gmail.com) escribió:
>
>> Hi
>>
>> I have total of 2 years of experience and I am interested to join your
>> team.
>> please check my Linkedin profile
>> https://www.linkedin.com/in/satish-kumar-2230b3158/
>>
>> Thanks in Advance.
>>
>> On Mon, Mar 30, 2020 at 8:51 AM Phako Perez <13.phak...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I’m also interested to join your team, have 3+ years working with python
>>> Currently I’m teaching python to a group in order them to improve theirs
>>> career
>>>
>>> Thanks in advance
>>>
>>> Sent from my iPhone
>>>
>>> On 29 Mar 2020, at 20:48, chinna 
>>> wrote:
>>>
>>> 
>>> Hi,
>>>
>>> I am Premkumar having 3 years of experience in web and rest api
>>> development using python and Django. I would like to join your team
>>>
>>> On Sun, Mar 29, 2020 at 11:26 PM Lax Nayak  wrote:
>>>
>>>> I am looking for a django developer who has expertise in building
>>>> enterprise grade solutions.
>>>>
>>>>
>>>> --
>>>> 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 view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/f93f06b0-883c-4477-9d73-cc429a43380d%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/f93f06b0-883c-4477-9d73-cc429a43380d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAG%3DmdoCaGy%3DTWh0CY04_TBo8uG__4UWnd8sfWYLOZ8fapfZ%3DCA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAG%3DmdoCaGy%3DTWh0CY04_TBo8uG__4UWnd8sfWYLOZ8fapfZ%3DCA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/5C30197E-FCE7-4BE8-B169-4E9E74F4EBF3%40gmail.com
>>> <https://groups.google.com/d/msgid/django-users/5C30197E-FCE7-4BE8-B169-4E9E74F4EBF3%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALzNJXmFb3cSFpEmYs2yB502x%2BB9DtNkDT_L2hqxvmvTPx08jA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALzNJXmFb3cSFpEmYs2yB502x%2BB9DtNkDT_L2hqxvmvTPx08jA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMf5KvxLjfvMEPJZ6j3PTruMpho34FOW3HaLOECfbkGQFV%2B6zA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMf5KvxLjfvMEPJZ6j3PTruMpho34FOW3HaLOECfbkGQFV%2B6zA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLFtrnrw39q6jP5R536BzbivfbE8KTOHjjyaJzbdSUG1WA%40mail.gmail.com.


App authentication using python social core and creation of webhook

2019-10-23 Thread Saswat Ray
https://m.facebook.com/groups/411741268877125?view=permalink&id=2659955947388968

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/39e2d5a5-5d2b-4949-b0f4-3c346a47ec64%40googlegroups.com.


Creating Shopify webhook using pipeline

2019-10-30 Thread Saswat Ray
Hi Guys,

I need to create one webhook in shopify(order/product) but using *pipeline
function*.I did the app authentication and got the access taken.

In settings.py i added this

SOCIAL_AUTH_SHOPIFY_WEBHOOK_PIPELINE = (
'social_core.pipeline.social_auth.social_uid',
'social_core.pipeline.social_auth.auth_allowed',
*'apps.integrations.pipelines.shopify_webhook_order_create',*
'social_core.pipeline.social_auth.social_user',
'social_core.pipeline.social_auth.associate_user',
'social_core.pipeline.social_auth.load_extra_data',
'social_core.pipeline.user.user_details',
)

I wanted to do something like this inside "*shopify_webhook_order_create"*
def register_webhook():
headers = {
"X-Shopify-Access-Token": session.get("access_token"),
"Content-Type": "application/json"
}

payload = {
"webhook": {
"topic": "draft_orders/create",
"address": "https://{0}/webhook".format(HOST),
"format": "json"
}
}
response = requests.post("https://"; + session.get("shop")
 + "/admin/webhooks.json",
 data=json.dumps(payload), headers=headers)

if response.status_code == 201:

return render_template('register_webhook.html',

 webhook_response=json.loads(response.text))
else:
return Response(response="{0} -
{1}".format(response.status_code,
response.text),
status=200)


but pipeline is having some specific format like below :

*"def slack_webhook_social_user(backend, uid, user=None, *args, **kwargs):*







*provider = backend.name social =
backend.strategy.storage.user.get_social_auth(provider, uid)if social
and not user:user = social.userreturn {'social': social,
'user': user,'is_new': user is None,
'new_association': social is None}"*



*My Question is how can i create webhook using pipeline function.*

*Thanks*,
*Saswat*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLGOAMO4SXXt2Fw8Pu_iEZkc7bx8XOJEQb6dKcepK8XQGA%40mail.gmail.com.


Webhook creation for shopify

2019-11-05 Thread Saswat Ray
HI,
Can anyone help me creating a webhook for shopify

*Thanks*,
*Saswat*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhPkLEw%2BATt4n3uXwKAm-im5BbYCe_zWfp7UX%3Du7baWvh4WTg%40mail.gmail.com.