Commit db59fc6f by Chif Gergő

Fix celery confoguration

parent 1a9d29a0
Pipeline #1096 passed with stage
in 1 minute 44 seconds
# Generated by Django 3.0.5 on 2020-04-27 09:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('instance', '0003_auto_20200408_1503'),
]
operations = [
migrations.AlterField(
model_name='basemachinedescriptor',
name='access_protocol',
field=models.CharField(choices=[('RDP', 'Remote Desktop Protocol'), ('SSH', 'Secure Shell')], help_text='The protocol which used to connect to the machinethat created from this template', max_length=50, verbose_name='remote_access_protocol'),
),
]
......@@ -5,9 +5,9 @@ import os
from celery import Celery
# set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'recircle.settings.base')
app = Celery('proj')
app = Celery('recircle')
# Using a string here means the worker doesn't have to serialize
# the configuration object to child processes.
......
......@@ -43,7 +43,8 @@ INSTALLED_APPS = [
"corsheaders",
"guardian",
"django_nose",
"channels"
"channels",
"django_celery_beat"
]
LOCAL_APPS = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment