diff options
author | Sashi20 | 2020-02-20 13:09:24 +0530 |
---|---|---|
committer | Sashi20 | 2020-02-20 13:09:24 +0530 |
commit | 7b07e8dd6f45bcd1508bd3acf7bc856f2aa81101 (patch) | |
tree | b4220fb05392effc0b07ce67aabb9c468c867c80 | |
parent | 1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029 (diff) | |
download | arduino_projects_website-7b07e8dd6f45bcd1508bd3acf7bc856f2aa81101.tar.gz arduino_projects_website-7b07e8dd6f45bcd1508bd3acf7bc856f2aa81101.tar.bz2 arduino_projects_website-7b07e8dd6f45bcd1508bd3acf7bc856f2aa81101.zip |
Add comment to abstract base class
-rw-r--r-- | arduino_blog/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arduino_blog/models.py b/arduino_blog/models.py index dc34a16..4d2f36d 100644 --- a/arduino_blog/models.py +++ b/arduino_blog/models.py @@ -71,6 +71,8 @@ states = ( ("IN-PY", "Puducherry") ) + +""" Base class created to collect creation date and modified date. Can be inherited in the other models """ class BaseClass(models.Model): date_created = models.DateTimeField(auto_now_add=True) date_modified = models.DateTimeField(auto_now=True) |