• 大小: 908KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-13
  • 语言: Python
  • 标签: Python  Web  Django  网站  

资源简介

采用Django框架,基于Python Web开发的爱鲜蜂项目源码,请使用Pycharm加载项目,并配置好相关环境。

资源截图

代码片段和文件信息

#!/usr/bin/env python
import os
import sys


if __name__ == “__main__“:
    os.environ.setdefault(“DJANGO_SETTINGS_MODULE“ “GPAXF.settings“)
    try:
        from django.core.management import execute_from_command_line
    except ImportError:
        # The above import may fail for some other reason. Ensure that the
        # issue is really that Django is missing to avoid masking other
        # exceptions on Python 2.
        try:
            import django
        except ImportError:
            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?“
            )
        raise
    execute_from_command_line(sys.argv)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-24 08:41  AXF\
     文件         804  2018-09-25 21:50  AXF\manage.py
     文件         324  2019-01-21 19:15  AXF\uwsgi.ini
     文件       20825  2019-01-21 21:12  AXF\uwsgi.log
     文件           5  2019-01-21 19:54  AXF\uwsgi.pid
     目录           0  2019-01-23 07:48  AXF\App\
     文件        1242  2019-01-20 19:19  AXF\App\urls.py
     文件         968  2019-01-17 02:26  AXF\App\views_helper.py
     文件          63  2018-09-25 21:46  AXF\App\admin.py
     文件          81  2018-09-25 21:46  AXF\App\apps.py
     文件          60  2018-09-25 21:46  AXF\App\tests.py
     文件         666  2018-09-29 20:38  AXF\App\views_constant.py
     文件           0  2018-09-25 21:46  AXF\App\__init__.py
     目录           0  2019-01-23 07:48  AXF\App\migrations\
     文件        5678  2019-01-14 03:12  AXF\App\migrations\0001_initial.py
     文件         479  2019-01-16 20:51  AXF\App\migrations\0004_auto_20190117_1051.py
     文件         904  2019-01-16 20:49  AXF\App\migrations\0003_cart.py
     文件         946  2019-01-15 02:55  AXF\App\migrations\0002_axfuser.py
     文件           0  2018-09-25 21:46  AXF\App\migrations\__init__.py
     文件        1432  2019-01-18 00:48  AXF\App\migrations\0005_order_orderdetail.py
     目录           0  2019-01-23 07:48  AXF\App\migrations\__pycache__\
     文件         912  2019-01-16 20:49  AXF\App\migrations\__pycache__\0003_cart.cpython-36.pyc
     文件         543  2019-01-16 20:51  AXF\App\migrations\__pycache__\0004_auto_20190117_1051.cpython-36.pyc
     文件         136  2018-09-25 21:50  AXF\App\migrations\__pycache__\__init__.cpython-35.pyc
     文件         129  2019-01-13 07:01  AXF\App\migrations\__pycache__\__init__.cpython-36.pyc
     文件        2405  2019-01-14 03:13  AXF\App\migrations\__pycache__\0001_initial.cpython-36.pyc
     文件        1119  2019-01-18 00:48  AXF\App\migrations\__pycache__\0005_order_orderdetail.cpython-36.pyc
     文件         901  2019-01-15 02:55  AXF\App\migrations\__pycache__\0002_axfuser.cpython-36.pyc
     文件        4481  2019-01-18 00:47  AXF\App\models.py
     文件       11425  2019-01-20 19:21  AXF\App\views.py
     目录           0  2019-01-23 07:48  AXF\App\__pycache__\
............此处省略146个文件信息

评论

共有 条评论