Skip to content

Delete host#240

Open
bhemmer wants to merge 16 commits intomasterfrom
delete_host
Open

Delete host#240
bhemmer wants to merge 16 commits intomasterfrom
delete_host

Conversation

@bhemmer
Copy link
Copy Markdown
Member

@bhemmer bhemmer commented May 4, 2021

Beschreibung

command to archive a host which has been dissolved.

Usage: python manage.py dissolve_host <host_slug>

fixes #214

Typ

  • Neues Feature
  • Model Changes

Änderungen

  • host gains bool field 'dissolved'
  • Host.objects.all() returns only objects with dissoved=False
  • dissolve_host command creates backup of all related content to data/<host_slug> directory
  • after the backup it deletes all related content, except for projects

@spuetz
Copy link
Copy Markdown
Member

spuetz commented May 9, 2021

Hi @bhemmer :) Could you remove the changes in the translation files from the PR. Thx

@bhemmer
Copy link
Copy Markdown
Member Author

bhemmer commented May 9, 2021

I could not remove translation files per se as there is real change there. This just looks like a lot of changes, as the lines where the translations occur are quoted in the file. I can not prevent this.
I removed all .mo files however, as they can be compiled anyway.

@bhemmer bhemmer requested a review from spuetz May 9, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How do we handle dissolved associations?

3 participants