Deleting a Django project/ app

3,820 views
Skip to first unread message

Sithembewena Lloyd Dube

unread,
Oct 3, 2010, 3:59:51 PM10/3/10
to django...@googlegroups.com
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?

I'm currently developing on Linux - Ubuntu Lucid Lynx (10.04).

Thanks,



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

Sithembewena Lloyd Dube

unread,
Oct 3, 2010, 4:03:12 PM10/3/10
to django...@googlegroups.com

Sithembewena Lloyd Dube

unread,
Oct 3, 2010, 4:04:05 PM10/3/10
to django...@googlegroups.com

Peter Herndon

unread,
Oct 3, 2010, 4:43:32 PM10/3/10
to django...@googlegroups.com

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

Sithembewena Lloyd Dube

unread,
Oct 3, 2010, 5:49:53 PM10/3/10
to django...@googlegroups.com
Thanks Peter - will keep this in mind. I did use setup.py.


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

Reply all
Reply to author
Forward
0 new messages