Adding deprecation warning to Textbook model.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 06:31:18 +0530
changeset 493 096ba514790b
parent 492 89f8e4266b1f
child 494 066deed9fba0
Adding deprecation warning to Textbook model.
pytask/taskapp/models.py
--- a/pytask/taskapp/models.py	Thu Jan 20 06:22:10 2011 +0530
+++ b/pytask/taskapp/models.py	Thu Jan 20 06:31:18 2011 +0530
@@ -178,7 +178,10 @@
                                          default=datetime.now())
 
 
+# THIS MODEL IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS.
 class TextBook(models.Model):
+    """THIS MODEL IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS.
+    """
 
     name = models.CharField(max_length=1024)