django-orphaned

Delete all orphaned files from your models
Download

django-orphaned Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Leonardo Di Lella
  • Publisher web site:
  • https://github.com/ledil/

django-orphaned Tags


django-orphaned Description

django-orphaned is a Django app that can be used to delete all orphaned files.Setupinstall via easy_install or pipeasy_install django-orphanedwith pippip install django-orphanedadd it to installed apps in django settings.pyINSTALLED_APPS = ( 'django_orphaned', ...)now add this to your settings.py ('app' is your project name where models.py is located):ORPHANED_APPS_MEDIABASE_DIRS = { 'app':{ 'root':MEDIABASE_ROOT, # MEDIABASE_ROOT => default location of your uploaded items e.g. /var/www/mediabase }}the least to do is to run this command to show all orphaned filespython manage.py deleteorphaned --infoand to finally delete all orphaned filespython manage.py deleteorphanedProduct's homepage


django-orphaned Related Software