How to update django

So i was recently faced with the dilemma of having to update django 1.6.1 to 1.6.2, after a bit of searching I came across a very.. very simple solution

pip install -U Django

Of course this is assuming you installed django… if not you most likely need to uninstall it by deleting the path where it lives.. eg

Python 2.7.5+ (default, Sep 19 2013, 13:48:49) 
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django
<module 'django' from '/usr/local/lib/python2.7/dist-packages/django/__init__.pyc'>


sudo rm -rf /usr/local/lib/python2.7/dist-packages/django/

You may also like...

Leave a Reply