| 12 | |
| 13 | === Using two versions of Django side-by-side === |
| 14 | |
| 15 | Here's one way to use Django's trunk and magic-removal branch on the same machine. This assumes Django's trunk (or a release such as 0.90 or 0.91) is installed: |
| 16 | |
| 17 | {{{ |
| 18 | # Get the magic-removal code somewhere on your filesystem. In this example, we use /home/python/django. |
| 19 | $ cd /home/python/django |
| 20 | $ svn co http://code.djangoproject.com/svn/django/branches/magic-removal |
| 21 | |
| 22 | # This will have created a "magic-removal" directory. |
| 23 | |
| 24 | # Whenever you want to use magic-removal, set the environment variable {{{PYTHONPATH}}} to the directory containing magic-removal. |
| 25 | export PYTHONPATH=/home/python/django/magic-removal |
| 26 | }}} |