migrations.AddField(
model_name='answer',
name='go_to',
- field=models.ForeignKey(related_name=b'go_tos', blank=True, to='quiz.Question', null=True),
+ field=models.ForeignKey(related_name='go_tos', blank=True, to='quiz.Question', null=True),
preserve_default=True,
),
migrations.AddField(
env.project_name = 'koedquiz'
-
-@task
-def openquiz():
- env.hosts = ['giewont.icm.edu.pl']
- env.user = 'rczajka'
- env.app_path = '/srv/koedquiz/openquiz'
- env.services = [
- DebianGunicorn('openquiz'),
+env.hosts = ['giewont.icm.edu.pl']
+env.user = 'rczajka'
+env.app_path = '/srv/koedquiz'
+env.services = [
+ Supervisord('koedquiz'),
]
-@task
-def pdquiz():
- env.hosts = ['giewont.icm.edu.pl']
- env.user = 'rczajka'
- env.app_path = '/srv/koedquiz/pdquiz'
- env.services = [
- DebianGunicorn('pdquiz'),
- ]