forked from TagesschuleElementa/www.tagesschule-elementa.ch
test file
This commit is contained in:
1
src/project/management/__init__.py
Normal file
1
src/project/management/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
__author__ = 'Ralf Braendli'
|
||||
1
src/project/management/commands/__init__.py
Normal file
1
src/project/management/commands/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
__author__ = 'Ralf Braendli'
|
||||
14
src/project/management/commands/test_file.py
Normal file
14
src/project/management/commands/test_file.py
Normal 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()
|
||||
Reference in New Issue
Block a user