Skip to content
Snippets Groups Projects
Commit 6c832cbf authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed the arch attribute in the Computing model moving from a property to a field.

parent 95678145
No related branches found
No related tags found
No related merge requests found
# Generated by Django 2.2.1 on 2021-11-24 01:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core_app', '0027_computing_supported_archs'),
]
operations = [
migrations.AddField(
model_name='computing',
name='arch',
field=models.CharField(default='amd64', max_length=255, verbose_name='Architecture'),
preserve_default=False,
),
]
...@@ -230,11 +230,6 @@ class Computing(models.Model): ...@@ -230,11 +230,6 @@ class Computing(models.Model):
def default_container_runtime(self): def default_container_runtime(self):
return str(self.container_runtimes).split(',')[0] return str(self.container_runtimes).split(',')[0]
@property
def arch(self):
return 'amd64'
#======================= #=======================
# Computing manager # Computing manager
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment