Support parallel-installed Django eggs

Review Request #5520 — Created Feb. 21, 2014 and submitted

Information

Review Board
master

Reviewers

Support parallel-installed Django eggs

If a system has different versions of Django installed as separate
eggs (such as having the latest version as well as an older version
for compatibility with ReviewBoard), this addition to the WSGI
loader enables it to find the matching supported version on the
system.

This will also make things easier on distro upgrades, as it will be
possible to have both the Django 1.4 egg on the system with Review
Board 1.7.21 and Django 1.6 in place for Review Board 2.0

A release note will be needed for existing sites, as if they want to
support this capability, they will need to update their
reviewboard.wsgi file manually. This patch will take affect only for
new installs.

Installed the prototype parallel-installable Django 1.4 package on Fedora 20: http://toshio.fedorapeople.org/django/python-django14-1.4.8-1.fc20.1.src.rpm

Verified that ReviewBoard starts properly. It failed without this patch.

Description From Last Updated

This should have spaces around the =.

daviddavid

Shouldn't this have been "ReviewBoard"?

chipx86chipx86
david
  1. 
      
  2. Show all issues

    This should have spaces around the =.

  3. 
      
sgallagh
david
  1. Ship It!

  2. 
      
sgallagh
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.7.x (0b50e49). Thanks!
chipx86
  1. 
      
  2. Show all issues

    Shouldn't this have been "ReviewBoard"?

    1. You're right, it should have been. That being said, it works this way too. Maybe it's case-insensitive?
      In any case, I'm sending a typo fix in review #5546 (since this patch has already been pushed).

  3.