Skip to content
Permalink
Browse files

adding editor config

  • Loading branch information...
cyriac committed Jun 10, 2016
1 parent 9e427ab commit 37aab78cf2e0804094227545a05ef8e4de6b4edd
Showing with 21 additions and 1 deletion.
  1. +21 −0 .editorconfig
  2. +0 −1 stormtrooper/tasker/admin.py
@@ -0,0 +1,21 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
indent_style = space
insert_final_newline = true

# Set default charset
[*.{js,css,html,json,py}]
charset = utf-8

[*.py]
indent_style = space
indent_size = 4

[*.{js,css,html,json}]
indent_style = space
indent_size = 2

@@ -48,7 +48,6 @@ def generate_questions(self, request, queryset):
for q in queryset:
message = {'task_id': q.id}
Channel('tasker-questions-create').send(message)
questions = Question.objects.filter(task__in=queryset)
message = "%s tasks scheduled for processing." % (queryset.count())
self.message_user(request, message)

0 comments on commit 37aab78

Please sign in to comment.
You can’t perform that action at this time.