| 441 | A third option is to use a `path file`_ (``<something>.pth``) which should work on most any system (including MS Windows). First, make sure there are no files, directories or symlinks named ``django`` in your ``site-packages`` directory. Then create a text file named ``django.pth`` and save it to your ``site-packages`` directory. That file should contain a path to your copy of Django on a single line and optional comments. Here is an example that points to multiple branches. Just uncomment the line for the branch you want to use ('Trunk' in this example) and make sure all other lines are commented: |
| 442 | |
| 443 | # Trunk is a svn checkout of: |
| 444 | # http://code.djangoproject.com/svn/django/trunk/ |
| 445 | # |
| 446 | /path/to/trunk |
| 447 | |
| 448 | # <branch> is a svn checkout of: |
| 449 | # http://code.djangoproject.com/svn/django/branches/<branch>/ |
| 450 | # |
| 451 | #/path/to/<branch> |
| 452 | |
| 453 | # On windows a path may look like this: |
| 454 | # C:/path/to/<branch> |
| 455 | |