Chapter3.1 Our First Django App, and Our First Unit Test
This commit is contained in:
parent
76a8bf8aed
commit
4671fcd24d
0
src/lists/__init__.py
Normal file
0
src/lists/__init__.py
Normal file
3
src/lists/admin.py
Normal file
3
src/lists/admin.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
5
src/lists/apps.py
Normal file
5
src/lists/apps.py
Normal file
@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ListsConfig(AppConfig):
|
||||
name = 'lists'
|
0
src/lists/migrations/__init__.py
Normal file
0
src/lists/migrations/__init__.py
Normal file
3
src/lists/models.py
Normal file
3
src/lists/models.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
src/lists/tests.py
Normal file
3
src/lists/tests.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
src/lists/views.py
Normal file
3
src/lists/views.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
Loading…
x
Reference in New Issue
Block a user