django專案結構 各個檔案說明等

2021-10-01 17:50:05 字數 671 閱讀 2865

user_manager (使用者管理系統)

-migrations(移民)

-0001_initial.py(最初的)

-_init_.py

-admin.py(管理員)

-models.py(模型)

-tests.py(測試)

-static(靜態檔案)

-jquery.cookie.js

-templates(模板,html檔案)

-add_classes.html(新增班級)

-add_student.heml(新增學生)

-classes.html(班級母版)

-edit_classes.html(編輯班級)

-edit_student.html(編輯學生)

-index.html(歡迎介面)

-js_cookie.html(拼接路徑)

-layout.html(布局)

-login.html(登入)

-menus.html(選單)

-page.html(頁面)

-student.heml(學生介面)

-teacher.html

-test.html

-user_manager

-_init_.py(空的&#

django專案結構

project gitignore readme.md 中文專案簡介 readme.en.md 英文專案簡介 celery task 用來存放clery相關檔案 db 資料庫相關 1.資料化初始化指令碼 2.資料庫維護指令碼,清理,備份指令碼 logs 存放日誌 packages 外部包,原始的,未...

Django專案結構

4.1 user models.py建立模型 重寫django user表 from django.db import models from django.contrib.auth.models import abstractuser create your models here class u...

django 專案結構

建立乙個django之後的專案目錄如下 本文使用的django版本為2.2.12 我當前建立的專案名稱為djangoproject1,在當前目錄下也會生成乙個同名資料夾。3 同名資料夾下包含的檔案含義為 2 當前工程依賴的環境包 1 manage.py。是包含專案管理子命令的檔案,例如 查詢指令可以...