Uninstall using sudo apt-get remove django
You probably want to stop your web server for the duration of the
process. Sometimes having it running will prevent upgrades.
Re-install using pip rather than apt-get ...
pip install django==1.4.5
pip install <any other Django-related packages>
Prove everything still works (temporarily start the web server)
pip install --upgrade django==1.5.x
Re-start your web server
If you use apt-get you are stuck with the version of Django which the
package maintainers originally settled on for your distro. Using pip you
can manage it all yourself.
Andreas' advice to use virtualenv is excellent and you should follow it.
Good luck
>
> any suggestions?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
django-users...@googlegroups.com
> <mailto:
django-users...@googlegroups.com>.
> <mailto:
django...@googlegroups.com>.
> <
https://groups.google.com/d/msgid/django-users/7fd56253-482e-4cdb-8a26-c98d9d03805c%40googlegroups.com?utm_medium=email&utm_source=footer>.