File: django_compilemessages.py

package info (click to toggle)
django-q 1.7.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,276 kB
  • sloc: python: 5,663; makefile: 181; sh: 30
file content (9 lines) | stat: -rw-r--r-- 154 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
import subprocess


def generate_mo_files():
    subprocess.run(["django-admin", "compilemessages"])


if __name__ == "__main__":
    generate_mo_files()