# HG changeset patch # User Nishanth Amuluru # Date 1294312313 -19800 # Node ID 479cbf5c822a388f24eb672c5e07a9254d20131f # Parent 6485c8e5d7755c5cf3e7b8fbd7baf1ab68a2bf89 Added an app called profile to manage user profiles diff -r 6485c8e5d775 -r 479cbf5c822a profile/__init__.py diff -r 6485c8e5d775 -r 479cbf5c822a profile/models.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profile/models.py Thu Jan 06 16:41:53 2011 +0530 @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff -r 6485c8e5d775 -r 479cbf5c822a profile/tests.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profile/tests.py Thu Jan 06 16:41:53 2011 +0530 @@ -0,0 +1,23 @@ +""" +This file demonstrates two different styles of tests (one doctest and one +unittest). These will both pass when you run "manage.py test". + +Replace these 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.failUnlessEqual(1 + 1, 2) + +__test__ = {"doctest": """ +Another way to test that 1 + 1 is equal to 2. + +>>> 1 + 1 == 2 +True +"""} + diff -r 6485c8e5d775 -r 479cbf5c822a profile/views.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profile/views.py Thu Jan 06 16:41:53 2011 +0530 @@ -0,0 +1,1 @@ +# Create your views here.