gf
This commit is contained in:
parent
34771cca51
commit
d8f81647bd
1 changed files with 0 additions and 20 deletions
|
@ -236,8 +236,6 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
|
||||||
'stickied': self.stickied,
|
'stickied': self.stickied,
|
||||||
'distinguish_level': self.distinguish_level,
|
'distinguish_level': self.distinguish_level,
|
||||||
#'award_count': self.award_count,
|
#'award_count': self.award_count,
|
||||||
'meta_title': self.meta_title,
|
|
||||||
'meta_description': self.meta_description,
|
|
||||||
'voted': self.voted,
|
'voted': self.voted,
|
||||||
'flags': flags,
|
'flags': flags,
|
||||||
}
|
}
|
||||||
|
@ -374,24 +372,6 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
|
||||||
self.submission_aux.embed_url = x
|
self.submission_aux.embed_url = x
|
||||||
g.db.add(self.submission_aux)
|
g.db.add(self.submission_aux)
|
||||||
|
|
||||||
@property
|
|
||||||
def meta_title(self):
|
|
||||||
return self.submission_aux.meta_title
|
|
||||||
|
|
||||||
@meta_title.setter
|
|
||||||
def meta_title(self, x):
|
|
||||||
self.submission_aux.meta_title=x
|
|
||||||
g.db.add(self.submission_aux)
|
|
||||||
|
|
||||||
@property
|
|
||||||
def meta_description(self):
|
|
||||||
return self.submission_aux.meta_description
|
|
||||||
|
|
||||||
@meta_description.setter
|
|
||||||
def meta_description(self, x):
|
|
||||||
self.submission_aux.meta_description=x
|
|
||||||
g.db.add(self.submission_aux)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_blocked(self):
|
def is_blocked(self):
|
||||||
return self.__dict__.get('_is_blocked', False)
|
return self.__dict__.get('_is_blocked', False)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue