52 | | Django can be installed via the MacPorts system. If you’re using Python 2.5, type sudo port install py25-django. For Python 2.6, type sudo port install py26-django. Django for Python 2.4 can be installed with sudo port install py-django. MacPorts can also be used to install a database and the Python interface to your chosen database. |
| 52 | Django can be installed via the MacPorts system: |
| 53 | |
| 54 | * '''Python 2.4''': `sudo port install py-django` |
| 55 | * '''Python 2.5''': `sudo port install py25-django` |
| 56 | * '''Python 2.6''': `sudo port install py26-django` |
| 57 | |
| 58 | Please note that `django-admin.py` is renamed according to the Python |
| 59 | version you installed it for (`django-admin-2.5.py` if you |
| 60 | installed py25-django). |
| 61 | |
| 62 | To enable bash completion append install the `bash_completion` variant (`sudo port install py25-django +bash_completion`). |