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

Minor fixes and clenaup.

parent 35cdede9
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,5 @@ __pycache__/ ...@@ -14,8 +14,5 @@ __pycache__/
# Data # Data
data* data*
# DB conf
services/webapp/db_conf.sh
# Compose # Compose
docker-compose.yml docker-compose.yml
...@@ -6,5 +6,5 @@ if [ ! -d ./services ]; then ...@@ -6,5 +6,5 @@ if [ ! -d ./services ]; then
exit 1 exit 1
fi fi
rosetta/shell webapp "cd /opt/code && source /env.sh && source /db_conf.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py makemigrations" rosetta/shell webapp "cd /opt/code && source /env.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py makemigrations"
...@@ -6,4 +6,4 @@ if [ ! -d ./services ]; then ...@@ -6,4 +6,4 @@ if [ ! -d ./services ]; then
exit 1 exit 1
fi fi
rosetta/shell webapp "cd /opt/code && source /env.sh && source /db_conf.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py migrate" rosetta/shell webapp "cd /opt/code && source /env.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py migrate"
# Generated by Django 2.2.1 on 2023-10-07 10:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core_app', '0033_auto_20220410_1531'),
]
operations = [
migrations.AlterField(
model_name='task',
name='requires_tcp_tunnel',
field=models.BooleanField(verbose_name='Requires TCP tunnel'),
),
]
...@@ -286,7 +286,7 @@ class Task(models.Model): ...@@ -286,7 +286,7 @@ class Task(models.Model):
interface_port = models.IntegerField('Interface port', blank=True, null=True) interface_port = models.IntegerField('Interface port', blank=True, null=True)
# Task access # Task access
requires_tcp_tunnel = models.BooleanField('Requires a TCP tunnel') requires_tcp_tunnel = models.BooleanField('Requires TCP tunnel')
tcp_tunnel_port = models.IntegerField('TCP tunnel port', blank=True, null=True) tcp_tunnel_port = models.IntegerField('TCP tunnel port', blank=True, null=True)
requires_proxy = models.BooleanField('Requires proxy') requires_proxy = models.BooleanField('Requires proxy')
requires_proxy_auth = models.BooleanField('Requires proxy auth') requires_proxy_auth = models.BooleanField('Requires proxy auth')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment