• 大小: 3.35MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-19
  • 语言: Python
  • 标签: Django2.0  web开发  

资源简介

用python3.6 + Django2.0 开发的一个简单的图书管理系统,适合新手学习Django时使用的系统

资源截图

代码片段和文件信息

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

if __name__ == “__main__“:
    os.environ.setdefault(“DJANGO_SETTINGS_MODULE“ “LibraryManagement.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)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-07 08:59  LibraryManagement\
     目录           0  2018-06-07 09:23  LibraryManagement\.idea\
     文件         398  2018-06-05 15:50  LibraryManagement\.idea\LibraryManagement.iml
     文件         206  2018-06-05 15:47  LibraryManagement\.idea\misc.xml
     文件         286  2018-06-05 15:47  LibraryManagement\.idea\modules.xml
     文件       26308  2018-06-07 09:23  LibraryManagement\.idea\workspace.xml
     目录           0  2018-06-06 16:04  LibraryManagement\LibraryManagement\
     文件           0  2018-06-05 15:44  LibraryManagement\LibraryManagement\__init__.py
     目录           0  2018-06-06 16:05  LibraryManagement\LibraryManagement\__pycache__\
     文件         147  2018-06-05 15:44  LibraryManagement\LibraryManagement\__pycache__\__init__.cpython-36.pyc
     文件        2377  2018-06-06 16:05  LibraryManagement\LibraryManagement\__pycache__\settings.cpython-36.pyc
     文件         986  2018-06-05 16:10  LibraryManagement\LibraryManagement\__pycache__\urls.cpython-36.pyc
     文件         570  2018-06-05 15:47  LibraryManagement\LibraryManagement\__pycache__\wsgi.cpython-36.pyc
     文件        3331  2018-06-06 16:04  LibraryManagement\LibraryManagement\settings.py
     文件         834  2018-06-05 16:10  LibraryManagement\LibraryManagement\urls.py
     文件         427  2018-06-05 15:44  LibraryManagement\LibraryManagement\wsgi.py
     文件      151552  2018-06-07 08:59  LibraryManagement\db.sqlite3
     目录           0  2018-06-06 16:39  LibraryManagement\image\
     目录           0  2018-06-06 16:39  LibraryManagement\image\2018\
     目录           0  2018-06-06 16:39  LibraryManagement\image\2018\06\
     目录           0  2018-06-06 21:27  LibraryManagement\image\2018\06\06\
     文件     3299389  2018-06-06 21:27  LibraryManagement\image\2018\06\06\20180502112036.jpg
     文件        3991  2018-06-06 16:39  LibraryManagement\image\2018\06\06\avatar.png
     文件        4474  2018-06-06 16:56  LibraryManagement\image\2018\06\06\avatar1.png
     文件         564  2018-06-05 15:44  LibraryManagement\manage.py
     目录           0  2018-06-06 16:55  LibraryManagement\management\
     文件           0  2018-06-05 15:44  LibraryManagement\management\__init__.py
     目录           0  2018-06-06 16:55  LibraryManagement\management\__pycache__\
     文件         140  2018-06-05 15:50  LibraryManagement\management\__pycache__\__init__.cpython-36.pyc
     文件         746  2018-06-05 20:50  LibraryManagement\management\__pycache__\admin.cpython-36.pyc
     文件         364  2018-06-05 15:50  LibraryManagement\management\__pycache__\apps.cpython-36.pyc
............此处省略45个文件信息

评论

共有 条评论