Chapter3.1 Our First Django App, and Our First Unit Test

chap3
Jason Zhu 2020-10-15 17:43:46 +11:00
parent 76a8bf8aed
commit 4671fcd24d
7 changed files with 17 additions and 0 deletions

View File

View File

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

View File

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

View File

View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

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

View File

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