Z
Z
zend02016-03-30 13:22:04
Django
zend0, 2016-03-30 13:22:04

Where to place the code for interacting with a third-party service?

Tell me where to place the code correctly (in which file) that interacts with a third-party service, while not printing anything, it just does something and returns True / False.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Sergeev, 2016-03-30
@zend0

Where do you like it. You can write a function in views, you can create a separate file. (the best way).

S
sim3x, 2016-03-30
@sim3x

In commands
https://docs.djangoproject.com/en/1.9/howto/custom...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question