Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add 'weight' app

Roland Geider476894e1c22b
diff --git a/weight/__init__.py b/weight/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/weight/models.py b/weight/models.py
new file mode 100644
index 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.py
new file mode 100644
index 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.py
new file mode 100644
index 000000000..60f00ef0e
--- /dev/null
+++ b/weight/views.py
@@ -0,0 +1 @@
+# Create your views here.