Skip to content

Commit

Permalink
Add app lists and TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Tisipi committed Mar 15, 2019
1 parent 3a4d3f9 commit 33d9dd0
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 0 deletions.
Empty file added lists/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions lists/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
5 changes: 5 additions & 0 deletions lists/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class ListsConfig(AppConfig):
name = 'lists'
Empty file added lists/migrations/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions lists/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
8 changes: 8 additions & 0 deletions lists/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from django.test import TestCase

# Create your tests here.

class SmokeTest(TestCase):

def test_bad_maths(self):
self.assertEqual(1+1, 2)
3 changes: 3 additions & 0 deletions lists/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit 33d9dd0

Please sign in to comment.