diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-06-10 06:34:50 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-06-10 06:34:50 +0100 |
commit | 484a17d49658fc7ad364de00cba58a53d729856f (patch) | |
tree | bc6b314c2a37d8d228316714f78632c264ec5f04 /expo/models.py | |
parent | 1d421b2d7c0cd478d5c92a54660bd3d085d05b12 (diff) | |
download | troggle-484a17d49658fc7ad364de00cba58a53d729856f.tar.gz troggle-484a17d49658fc7ad364de00cba58a53d729856f.tar.bz2 troggle-484a17d49658fc7ad364de00cba58a53d729856f.zip |
[svn] * Added non-public field for protecting copyright info etc. Field is on all models but needs to be checked for in views. So far, only the cave view checks.
* Added the Person wiki syntax which looks like [[person:John Doe]]
Diffstat (limited to 'expo/models.py')
-rw-r--r-- | expo/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expo/models.py b/expo/models.py index ea73cd4..180f272 100644 --- a/expo/models.py +++ b/expo/models.py @@ -21,7 +21,7 @@ logging.basicConfig(level=logging.DEBUG, #This class is for adding fields and methods which all of our models will have.
class TroggleModel(models.Model):
new_since_parsing = models.BooleanField(default=False, editable=False)
-
+ non_public = models.BooleanField(default=False)
def object_name(self):
return self._meta.object_name
|