[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]]
This commit is contained in:
substantialnoninfringinguser
2009-06-10 06:34:50 +01:00
parent 1d421b2d7c
commit 484a17d496
3 changed files with 11 additions and 4 deletions

View File

@@ -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