1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/pdf/management/commands/create_document.py

11 lines
280 B
Python

from django.utils import translation
from django.core.management.base import BaseCommand
from pdf.utils import create_document
class Command(BaseCommand):
def handle(self, *args, **kwargs):
translation.activate("de")
create_document()
print("test")