소스 검색

人大预算功能开发之payment初始化

DYaiu 4 년 전
부모
커밋
391c110eef
8개의 변경된 파일17개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      my_project/settings.py
  2. 0 0
      payment/__init__.py
  3. 3 0
      payment/admin.py
  4. 5 0
      payment/apps.py
  5. 0 0
      payment/migrations/__init__.py
  6. 1 0
      payment/models.py
  7. 3 0
      payment/tests.py
  8. 3 0
      payment/views.py

+ 2 - 1
my_project/settings.py

@@ -40,7 +40,8 @@ INSTALLED_APPS = [
     'workreport',
     'mptt',
     'workTtree',
-    'treeAndTable'
+    'treeAndTable',
+    'payment'
 ]
 
 MIDDLEWARE = [

+ 0 - 0
payment/__init__.py


+ 3 - 0
payment/admin.py

@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.

+ 5 - 0
payment/apps.py

@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class PaymentConfig(AppConfig):
+    name = 'payment'

+ 0 - 0
payment/migrations/__init__.py


+ 1 - 0
payment/models.py

@@ -0,0 +1 @@
+from django.db import models

+ 3 - 0
payment/tests.py

@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.

+ 3 - 0
payment/views.py

@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.