Permalink
Browse files

added untracked files

  • Loading branch information...
1 parent 86b3bab commit 367ab488f480670da2c48263aac0283734003209 @fatiherikli fatiherikli committed Sep 25, 2012
View
@@ -1,3 +1,4 @@
.idea
*.pyc
-data
+data
+settings_local.py
No changes.
View
@@ -0,0 +1,12 @@
+from django.db import models
+from django.utils.encoding import smart_unicode
+
+class Link(models.Model):
+ """
+ Holds link data
+ """
+ title = models.CharField(max_length=255)
+ url = models.CharField(max_length=255)
+
+ def __unicode__(self):
+ return smart_unicode(self.title)
View
@@ -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)
View
@@ -0,0 +1 @@
+# Create your views here.
No changes.
View
@@ -0,0 +1,12 @@
+from django.db import models
+from django.utils.encoding import smart_unicode
+
+class ToDo(models.Model):
+ """
+ Holds To-do data
+ """
+ description = models.CharField(max_length=255)
+ is_completed = models.BooleanField()
+
+ def __unicode__(self):
+ return smart_unicode(self.description)
View
@@ -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)
View
@@ -0,0 +1 @@
+# Create your views here.

0 comments on commit 367ab48

Please sign in to comment.