Преглед изворни кода

人大预算功能开发之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.