重构
This commit is contained in:
0
group/__init__.py
Normal file
0
group/__init__.py
Normal file
3
group/admin.py
Normal file
3
group/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
7
group/apps.py
Normal file
7
group/apps.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class GroupConfig(AppConfig):
|
||||
name = 'group'
|
||||
0
group/migrations/__init__.py
Normal file
0
group/migrations/__init__.py
Normal file
8
group/models.py
Normal file
8
group/models.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# coding=utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Group(models.Model):
|
||||
pass
|
||||
3
group/tests.py
Normal file
3
group/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
group/views.py
Normal file
3
group/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in New Issue
Block a user