Skip to content
Discussion options

You must be logged in to vote

I'd say best practice is to use ORM:

  • You get transactional safety and rollback (note that "dry run" functionality depends on this)
  • You don't need to hard-code an API key into the script

You also have a wider range of Django ORM filtering facilities available.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wz4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants