Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add 'weight' app
Roland Geider476894e1c22b
diff --git a/weight/__init__.py b/weight/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/weight/models.py b/weight/models.pynew file mode 100644index 000000000..71a836239--- /dev/null+++ b/weight/models.py@@ -0,0 +1,3 @@+from django.db import models++# Create your models here.diff --git a/weight/tests.py b/weight/tests.pynew file mode 100644index 000000000..501deb776--- /dev/null+++ b/weight/tests.py@@ -0,0 +1,16 @@+"""+This file demonstrates writing tests using the unittest module. These will pass+when you run "manage.py test".++Replace this with more appropriate tests for your application.+"""++from django.test import TestCase+++class SimpleTest(TestCase):+ def test_basic_addition(self):+ """+ Tests that 1 + 1 always equals 2.+ """+ self.assertEqual(1 + 1, 2)diff --git a/weight/views.py b/weight/views.pynew file mode 100644index 000000000..60f00ef0e--- /dev/null+++ b/weight/views.py@@ -0,0 +1 @@+# Create your views here.