We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We may want to try to clean up these queries to use the Django Models directly which could improve readability and get rid of SQL from this code.
Since this isn't the highest priority it's going in the backlog.
But for this query it would probably be something like this
query_results = ResourceAccess.objects.filter( access_time__gt=start_time, access_time__lt=end_time, course_id=course_id ).values( 'resource_id', 'resource__resource_type', 'resource__name', 'user__current_grade', 'user_id' ).filter( user__course_id=course_id, user__enrollment_type=enrollment_type )
my-learning-analytics/dashboard/views.py
Line 301 in 0baa298
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We may want to try to clean up these queries to use the Django Models directly which could improve readability and get rid of SQL from this code.
Since this isn't the highest priority it's going in the backlog.
But for this query it would probably be something like this
my-learning-analytics/dashboard/views.py
Line 301 in 0baa298
The text was updated successfully, but these errors were encountered: