summaryrefslogtreecommitdiff
path: root/postgresqleu/confwiki
diff options
context:
space:
mode:
authorMagnus Hagander2019-07-09 08:44:21 +0000
committerMagnus Hagander2019-07-09 08:44:21 +0000
commitc0f7219b0127122fbf83f3771ade85408d386e66 (patch)
tree2b551abcc70e635207065ba3a4bdc3223da4f181 /postgresqleu/confwiki
parent16ebc31950746c79054fa6eb90eb6bf624556c32 (diff)
Remove treasurer_email and org_name from a number of models _safe_attributes
These were added back in 4b62fb65c3eeadc0aafff44c9b1c7585ccbad84d, but appears to have never really been necessary. Probably leftovers from some previous attempt, so clean it up.
Diffstat (limited to 'postgresqleu/confwiki')
-rw-r--r--postgresqleu/confwiki/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/postgresqleu/confwiki/models.py b/postgresqleu/confwiki/models.py
index 18f28f3c..560bc432 100644
--- a/postgresqleu/confwiki/models.py
+++ b/postgresqleu/confwiki/models.py
@@ -79,7 +79,7 @@ class WikipageHistory(models.Model):
publishedat = models.DateTimeField(null=False, blank=False)
contents = models.TextField(null=False, blank=False)
- _safe_attributes = ('id', 'author', 'page', 'publishedat', 'contents', 'org_name', 'treasurer_email')
+ _safe_attributes = ('id', 'author', 'page', 'publishedat', 'contents')
class Meta:
ordering = ('-publishedat',)
@@ -156,7 +156,7 @@ class AttendeeSignup(models.Model):
choice = models.CharField(max_length=100, null=False, blank=True)
saved = models.DateTimeField(null=False, blank=False, auto_now=True)
- _safe_attributes = ('choice', 'org_name', 'saved', 'treasurer_email')
+ _safe_attributes = ('choice', 'saved', )
class Meta:
unique_together = (