Skip to content
Snippets Groups Projects

Ensure django database wrappers always have a connection before creating a cursor

Merged Bastien Abadie requested to merge ensure-db-connection into master

Only used during ocrpus export. The .using() calls work properly.

I guess the low-level code expect that DB to be used at least once before calling the .cursor()

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading