mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 21:47:53 +08:00
10 lines
154 B
Python
10 lines
154 B
Python
import subprocess
|
|
|
|
|
|
def generate_mo_files():
|
|
subprocess.run(["django-admin", "compilemessages"])
|
|
|
|
|
|
if __name__ == "__main__":
|
|
generate_mo_files()
|