File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,6 @@ class ProblemAdmin(ModelView, model=Problem):
138138
139139 form_excluded_columns = [
140140 Problem .submissions ,
141- Problem .code_submissions ,
142141 Problem .testcases ,
143142 ]
144143
Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ class Problem(DeclarativeBase):
3939 recruiting : Mapped ["Recruiting" ] = relationship (back_populates = "problems" )
4040 submissions : Mapped [list ["CodeSubmission" ]] = relationship (back_populates = "problem" )
4141 testcases : Mapped [list ["Testcase" ]] = relationship (back_populates = "problem" )
42- code_submissions : Mapped [list ["CodeSubmission" ]] = relationship (
43- back_populates = "problem"
44- )
4542
4643 def __str__ (self ) -> str :
4744 return f"<Problem id={ self .id } , num={ self .num } , body={ self .body [:10 ]} ..>"
You can’t perform that action at this time.
0 commit comments