335 Star 2.9K Fork 834

SmartChart / SmartChart

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
manage.py 924 Bytes
Copy Edit Web IDE Raw Blame History
SmartChart authored 2023-02-26 15:10 . v6.1
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
try:
from smart_chart.echart import get_version
except Exception as e:
print('you need pip install smartchart')
return
SMARTCHART = f'''======powered by smartchart version: {get_version()}====='''
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'smartcharts.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
print(SMARTCHART)
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()
Python
1
https://gitee.com/smartchart/smartchart.git
git@gitee.com:smartchart/smartchart.git
smartchart
smartchart
SmartChart
master

Search

10d9f8b4 4838521 8bde8327 4838521