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

12 lines
280 B
Python
Raw Normal View History

2023-05-28 16:22:12 +02:00
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")