-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Figured out how to pass parameters from settings #36
base: master
Are you sure you want to change the base?
Conversation
…jango-nose runner for Gradescope Runner
…ss parameters from settings.py to customize the autograder. I should note you can pass a file descriptor no problem in settings.py, however I am unsure where you would close it. Regardless, I will leave that for a later time as I am assuming instructors would either stick the the default or would be aware of open file descriptors
Actually, with some more poking around in settings.py setting fd = open('file.json', 'w') and passing that to gradescope parameters, I am getting no warning from either testing or running the server. |
@AndrewQuijano thanks for your contribution! Sorry for the delay in getting this reviewed. To be honest, I think it probably make more sense to make this its own pip package with its own repository so that updates don't have to go through our team. I'm happy to leave it here for now but I don't think it makes sense in the long term. At that point we could link to it from https://gradescope-autograders.readthedocs.io/en/latest/resources/. |
Hello,
I figured out how to pass parameters to the JSONTestRunner from settings.py file in Django. I was able to test it locally with no issues.
I am wondering, when would anyone else be able to download these updates? Furthermore, I figure this could be useful for anyone teaching courses on either developing Django applications or in my case, use a buggy Django implementation for a CTF.