Skip to content

Commit

Permalink
Merge branch '148-advanced-tests' of github.com:SELab-2/UGent-1 into …
Browse files Browse the repository at this point in the history
…148-advanced-tests
  • Loading branch information
robinpdev committed May 19, 2024
2 parents dcf8d05 + 6231db0 commit cc42b7e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.2.11 on 2024-05-19 14:55

import backend.pigeonhole.apps.projects.models
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('projects', '0002_project_test_dockerfile'),
]

operations = [
migrations.AddField(
model_name='project',
name='test_entrypoint',
field=models.FileField(blank=True, null=True, upload_to=backend.pigeonhole.apps.projects.models.get_upload_to),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generated by Django 4.2.13 on 2024-05-19 16:40

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('projects', '0003_alter_project_test_dockerfile_and_more'),
('projects', '0003_project_test_entrypoint'),
]

operations = [
]
1 change: 1 addition & 0 deletions backend/pigeonhole/apps/projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Project(models.Model):
test_files = models.FileField(blank=True, null=True, upload_to=testfile_path)
test_dockerfile = models.FileField(blank=True, null=True, upload_to=dockerfile_path)


class ProjectSerializer(serializers.ModelSerializer):
class Meta:
model = Project
Expand Down

0 comments on commit cc42b7e

Please sign in to comment.