Sunday, October 3, 2010

Re: Deleting a Django project/ app

Thanks Peter - will keep this in mind. I did use setup.py.

On Sun, Oct 3, 2010 at 10:43 PM, Peter Herndon <tpherndon@gmail.com> wrote:

On Oct 3, 2010, at 4:04 PM, Sithembewena Lloyd Dube wrote:

> Howdy, fellow Djangites,
>
> This is going to sound downright loony - but is there a special method to delete Django projects and apps, or is it fine to just delete the directories? I know that most third party Python packages can be "uninstalled" by simply removing them from the default Python installation's site-packages directory or wherever else they happen to be. I just wonder if there are any configuration settings somewhere that would flip their wigs about me not using a specific tool e.g. django-admin.py to uninstall?
>

Assuming you installed via "setup.py install" or equivalent, there is no special method; just delete the directories and any reference to the Django app in e.g. INSTALLED_APPS for any sites you want to keep.

If you installed packages via Ubuntu's package manager, then "apt-get remove" is a much better method than deleting the directories.

---Peter

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment