Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

218
Views
how to implement postgresql replication in django?

I am having some challenge implementing database replication in django using postgresql. I followed the instruction on this page https://github.com/yandex/django_replicated/tree/master/django_replicated but i keep getting the error.

'ReplicationMiddleware' object is not callable

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The Middleware class in that library is using the "old" style middleware from Django < 1.10.

You can see the note on the changes in the Django docs:

A new style of middleware was introduced for use with the new MIDDLEWARE setting. If you’re using the old MIDDLEWARE_CLASSES setting, you’ll need to adapt old, custom middleware before using the new setting. This document describes new-style middleware. Refer to this page in older versions of the documentation for a description of how old-style middleware works.

It will need to be adapted for use with Django >= 1.10

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!