forked from rDrama/rDrama
fdsfs
parent
23c780e322
commit
88b8358880
|
@ -208,6 +208,7 @@ class Submission(Base):
|
||||||
if comment: self.__dict__["replies"] = [comment]
|
if comment: self.__dict__["replies"] = [comment]
|
||||||
else: self.__dict__["replies"] = pinned_comment + index.get(self.fullname, [])
|
else: self.__dict__["replies"] = pinned_comment + index.get(self.fullname, [])
|
||||||
|
|
||||||
|
g.db.commit()
|
||||||
return render_template(template,
|
return render_template(template,
|
||||||
v=v,
|
v=v,
|
||||||
p=self,
|
p=self,
|
||||||
|
|
|
@ -57,4 +57,4 @@ INSERT INTO public.users (
|
||||||
0, 0, '', true, 0);
|
0, 0, '', true, 0);
|
||||||
|
|
||||||
|
|
||||||
SELECT pg_catalog.setval('public.users_id_seq', 7, true);
|
SELECT pg_catalog.setval('public.users_id_seq', 6, true);
|
Loading…
Reference in New Issue