equal
deleted
inserted
replaced
344 entity.put() |
344 entity.put() |
345 |
345 |
346 # return the scope |
346 # return the scope |
347 return entity.scope |
347 return entity.scope |
348 |
348 |
|
349 |
349 class ProjectLogic(Logic): |
350 class ProjectLogic(Logic): |
350 """Logic class for ProjectSurvey. |
351 """Logic class for ProjectSurvey. |
351 """ |
352 """ |
352 |
353 |
353 def __init__(self, model=ProjectSurvey, |
354 def __init__(self, model=ProjectSurvey, |
371 """Defines the name, key_name and model for this entity. |
372 """Defines the name, key_name and model for this entity. |
372 """ |
373 """ |
373 |
374 |
374 super(GradingProjectLogic, self).__init__(model=model, |
375 super(GradingProjectLogic, self).__init__(model=model, |
375 base_model=base_model, |
376 base_model=base_model, |
376 scope_logic=scope_logic) |
377 scope_logic=scope_logic, |
|
378 record_logic=record_logic) |
377 |
379 |
378 |
380 |
379 logic = Logic() |
381 logic = Logic() |
380 project_logic = ProjectLogic() |
382 project_logic = ProjectLogic() |
381 grading_logic = GradingProjectLogic() |
383 grading_logic = GradingProjectLogic() |