Thanks a lot for the super fast response! 🤩
On Fri, 21 Aug 2020, 15:40 RANGA BHARATH JINKA, <bharathjinka09@gmail.com> wrote:
Hi,create a variable like APIKEY = 'value' in settings.py.If you want to access that api key in views just use this import "from django.conf import settings"In views.py:api_key = settings.APIKEYAll the best.On Fri, Aug 21, 2020 at 3:33 PM Ogunsanya Opeyemi <ogunsanyaopeyemi4@gmail.com> wrote:You just need to add define the key in your settings file Key_Name= "key"OGUNSANYA OPEYEMI--On Fri, Aug 21, 2020 at 10:55 AM Arpana Mehta <arpana11mehta@gmail.com> wrote:Hello everybody,--I wanted to know if there's anybody who can help me integrate a very simple third party API using client ID and secret key.I just want to know the basic steps of where to add the key and ID in settings file so I can access that API from my app in django-project.It's kind of urgent. Any help will be appreciated.Many thanks,Arpana Mehta
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGyqUuW-zx8-cfVt0Oq%2B3E9WwcA8w%3DgsKg3xjtC9-vvuR9pHfw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABJxPrHhY0pGi9MoEQz7CHcdkFGmdWoz87BtG5Ky4SaQ_dtFFg%40mail.gmail.com.
----Thanks and RegardsJ. Ranga Bharathcell: 9110334114
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m316arXyCUwcvvjRzRVv3-xAAvttCRUgmv6AqkqJ6dCuSWw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGyqUuUXymTx_1ecAykTn7eftih45wA0N3wk8skn5g5%3DV7xrrg%40mail.gmail.com.
No comments:
Post a Comment