test file

This commit is contained in:
2018-06-15 17:07:35 +02:00
parent e92f61efd0
commit fd2e2e1c84
3 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1 @@
__author__ = 'Ralf Braendli'

View File

@@ -0,0 +1 @@
__author__ = 'Ralf Braendli'

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
class Command(BaseCommand):
def handle(self, *args, **options):
f = open('some_file.txt', 'w+')
f.write('test')
f.close()
f = open('/whoosh/some_file.txt', 'w+')
f.write('test')
f.close()