Skip to content

Commit

Permalink
Update clean management script
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Nov 12, 2024
1 parent 28f7e93 commit c593882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isimip_data/core/management/commands/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def handle(self, *args, **options):
self.clean_media()
if options['command'] in ['all', 'npm']:
self.clean_npm()
if options['command'] in ['all', 'python']:
self.clean_python()
if options['command'] in ['all', 'static']:
self.clean_static()
if options['command'] in ['all', 'python']:
self.clean_python()

def clean_media(self):
shutil.rmtree(settings.MEDIA_ROOT, ignore_errors=True)
Expand Down

0 comments on commit c593882

Please sign in to comment.