| Issue 250: | trying to delete students, tells me i need benchmark related tables | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
Deleting or saving students throws an error that it requires "benchmark_grade_mark", "benchmark_grade_aggregate", and "benchmark_grade_aggregate_student". For schools that do not have the benchmark gradebook, this shouldn't happen. They shouldn't need these tables.
Dec 2, 2011
Project Member
#1
jmil...@cristoreyny.org
Dec 2, 2011
deleting faculty errors with "benchmark_grade_category", "benchmark_grade_item", and "benchmark_grade_aggregate_course" tables missing.
Dec 2, 2011
maybe it was just delete then. I've been doing so much the last couple of days, I might've screwed up On Fri, Dec 2, 2011 at 2:33 PM, < student-worker-relational-database@googlecode.com> wrote:
Dec 3, 2011
The issue is that benchmark_grade/models.py is being read in to python due to some import statements outside the benchmark_grade project without checks if it's installed. For example sis/report.py line 9 The proper way to access classes from another django app that isn't guaranteed to be present is to check installed apps then import just what you need. Don't use a global import or an import *. Something like if 'foo' in settings.INSTALLED_APPS: from foo.models import JustThisModel JustThisModel(stuff) ...
Dec 4, 2011
Thanks for the report and the help.
Dec 13, 2011
merge fail? |
||||||||||