How do I uninstall Django Evolution? -


I have installed it in my god project. I would like to remove it in my database and in my demo app and I would not like to mention any of its trace installation of its dragon. I found that it was not necessary for me, but this is another topic, and I'm going to the south.

Can I just remove the development tables in my own DJGb and remove it from the app settings? Or is it even more?

Part 1: Remove the Pygmy Egg (Example when Installed Easy-Installed and with Python 2.5)

  Install bash $ in the simplest place. Pth /usr/lib/python2.5/site-packages/easy-install.pth bash $ nano / user / liib / python-2.5 / site-packages / easy-install.pth  

And if it is there, remove the eggs (not in my case).

bash $ easy_install -m django-evolution

See where the egg was installed, and finally it was removed:

< Pre> bash $ rm -rf /usr/lib/python2.5/site-packages/django_evolution-0.6.1-py2.5.egg

Part 2: Remove the django_evolution from the DEJENGO

Remove django_evolution from INSTALLED_APPS, that is, open your settings and delete the line with 'django_evolution'


Part 3: Clear DB

To delete the django_evolution table:

Log in to your DB (for example H mysql ):

  bash $ mysql -u username np mysql & gt; Use XXX_django; # Change XXX_django by your own dynamic database (you can use "show the database;" to see what is your) mysql & gt; Drop table django_evolution;  

Comments