Use the Djblets MySQL backend in Review Board.

Review Request #8641 — Created Jan. 20, 2017 and submitted

Information

Review Board
release-2.5.x
178ad42...

Reviewers

Djblets just gained a new and improved MySQL backend. This change
updates Review Board to make use of it when the standard Django MySQL
backend is configured.

settings.py now scans the database backends that are configured, looking
for the Django MySQL backend. If found, the backend is swapped out for
the Djblets one, requiring no change in the server's configuration.

Tested with a standard Django MySQL backend in settings_local.py. Saw
that the Djblets backend was activated.

Description From Last Updated

Bug 4007?

daviddavid

'django_reset' imported but unused

reviewbotreviewbot

'from settings_local import *' used; unable to detect undefined names

reviewbotreviewbot

'PIPELINE_JS' imported but unused

reviewbotreviewbot

'PIPELINE_CSS' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/settings.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/settings.py
    
    
  2. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'django_reset' imported but unused
    
  3. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'from settings_local import *' used; unable to detect undefined names
    
  4. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'PIPELINE_JS' imported but unused
    
  5. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'PIPELINE_CSS' imported but unused
    
  6. 
      
david
  1. 
      
  2. Show all issues

    Bug 4007?

  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (45c7f48)
Loading...