blob: fba5d8c28e09181670cb2f01ed25e205b907a210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/python3
# Python fragment that can
# be used to load up all the
# required django infrastructure
# to get a patchwork+linaro_tools
# aware python cli
#
# from cli import *
# import linaro_metrics.teamcredit
#
# tcs = TeamCredit.objects.filter(....)
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from bin import django_setup, add_logging_arguments
django_setup()
from django.conf import settings
|