-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #519 from ColonelThirtyTwo/fix-activity-type-blank
Fix cloud servers activity type + server role being optional on the form
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
ghostwriter/shepherd/migrations/0050_auto_20240917_1521.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 3.2.19 on 2024-09-17 15:21 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('shepherd', '0049_set_text_defaults'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='transientserver', | ||
name='activity_type', | ||
field=models.ForeignKey(help_text='Select how this VPS will be used', on_delete=django.db.models.deletion.PROTECT, to='shepherd.activitytype'), | ||
), | ||
migrations.AlterField( | ||
model_name='transientserver', | ||
name='server_role', | ||
field=models.ForeignKey(help_text='Select the role this VPS will play', on_delete=django.db.models.deletion.PROTECT, to='shepherd.serverrole'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters