# HG changeset patch # User Madhusudan.C.S # Date 1295485278 -19800 # Node ID 096ba514790bc2445692321e5d238715b6056e54 # Parent 89f8e4266b1ff1d9b6ab6c54b8b1f5ff142c2cb1 Adding deprecation warning to Textbook model. diff -r 89f8e4266b1f -r 096ba514790b 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)