资源简介

参考文档https://blog.csdn.net/lanquankk/article/details/98750454,以前是免费的不知到什么时候被改成收费了,希望大家谅解

资源截图

代码片段和文件信息

#!/usr/bin/env python
“““Django‘s command-line utility for administrative tasks.“““
import os
import sys


def main():
    os.environ.setdefault(‘DJANGO_SETTINGS_MODULE‘ ‘Django.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
    execute_from_command_line(sys.argv)


if __name__ == ‘__main__‘:
    main()

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-08-07 10:40  Django\
     目录           0  2019-08-07 15:24  Django\.idea\
     文件        1202  2019-08-06 14:23  Django\.idea\Django.iml
     目录           0  2019-08-06 14:23  Django\.idea\inspectionProfiles\
     文件         174  2019-08-06 14:23  Django\.idea\inspectionProfiles\profiles_settings.xml
     文件         294  2019-08-06 14:23  Django\.idea\misc.xml
     文件         271  2019-08-06 14:23  Django\.idea\modules.xml
     文件        4593  2019-08-07 15:24  Django\.idea\workspace.xml
     文件           0  2019-08-06 14:25  Django\db.sqlite3
     目录           0  2019-08-07 11:46  Django\Django\
     文件        5956  2019-08-07 10:38  Django\Django\settings.py
     文件        1121  2019-08-07 11:46  Django\Django\urls.py
     文件         405  2019-08-06 14:23  Django\Django\wsgi.py
     文件           0  2019-08-06 16:49  Django\Django\__init__.py
     目录           0  2019-08-07 11:46  Django\Django\__pycache__\
     文件        3149  2019-08-07 10:40  Django\Django\__pycache__\settings.cpython-37.pyc
     文件        1135  2019-08-07 11:46  Django\Django\__pycache__\urls.cpython-37.pyc
     文件         532  2019-08-06 14:25  Django\Django\__pycache__\wsgi.cpython-37.pyc
     文件         131  2019-08-06 16:49  Django\Django\__pycache__\__init__.cpython-37.pyc
     目录           0  2019-08-07 15:05  Django\lanquan\
     文件          66  2019-08-06 14:23  Django\lanquan\admin.py
     文件          94  2019-08-06 14:23  Django\lanquan\apps.py
     目录           0  2019-08-06 17:20  Django\lanquan\migrations\
     文件         484  2019-08-06 17:02  Django\lanquan\migrations\0001_initial.py
     文件         920  2019-08-06 17:14  Django\lanquan\migrations\0002_auto_20190806_1714.py
     文件         610  2019-08-06 17:20  Django\lanquan\migrations\0003_auto_20190806_1720.py
     文件           0  2019-08-06 14:23  Django\lanquan\migrations\__init__.py
     目录           0  2019-08-06 17:20  Django\lanquan\migrations\__pycache__\
     文件         601  2019-08-06 17:02  Django\lanquan\migrations\__pycache__\0001_initial.cpython-37.pyc
     文件         899  2019-08-06 17:14  Django\lanquan\migrations\__pycache__\0002_auto_20190806_1714.cpython-37.pyc
     文件         644  2019-08-06 17:20  Django\lanquan\migrations\__pycache__\0003_auto_20190806_1720.cpython-37.pyc
............此处省略46个文件信息

评论

共有 条评论