Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-451

Add support for database caching

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.1.0b2
    • Affects Version/s: None
    • Component/s: django
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Database caching isn't implemented.

      Example crash when running Wagtail test suite :

      AttributeError: 'NoneType' object has no attribute 'execute'

      django-mongodb doesn't use cursors and isn't able to execute SQL, so a custom cache backend is needed.

      Workaround is to disable use of database caching in the tests: https://github.com/aclark4life/django-mongodb-cli/blob/36515d54ab94ca82085a1c898d1b478c1c423e10/test_settings/settings_wagtail.py#L182-L190

       

            Assignee:
            emanuel.lupi@mongodb.com Emanuel Lupi
            Reporter:
            alex.clark@mongodb.com Alex Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None