From 88279171d47c91dd7e7838b085611d3d6edcd4eb Mon Sep 17 00:00:00 2001 From: rolf <rolfvandam1@gmail.com> Date: Mon, 11 Apr 2016 19:12:08 +0200 Subject: [PATCH] Added utf-8 header to utils.py and commented out line with syntax error on form field --- comments/migrations/__init__.py | 0 scipost/utils.py | 3 +++ submissions/forms.py | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 comments/migrations/__init__.py diff --git a/comments/migrations/__init__.py b/comments/migrations/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/scipost/utils.py b/scipost/utils.py index b10fe4f59..20e52f977 100644 --- a/scipost/utils.py +++ b/scipost/utils.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + import datetime import hashlib import random diff --git a/submissions/forms.py b/submissions/forms.py index 925de1bce..39ccc8753 100644 --- a/submissions/forms.py +++ b/submissions/forms.py @@ -40,7 +40,7 @@ class AssignSubmissionForm(forms.Form): # user__contributor__specializations__contains=[specialization,] # Reactivate later on, once the Editorial College is large enough ), required=True, label='Select an Editor-in-charge') - editor_in_charge = forms.ModelChoiceField(queryset=...) + #editor_in_charge = forms.ModelChoiceField(queryset=...) class ConsiderAssignmentForm(forms.Form): -- GitLab