You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create a management code to export reviewers vote #553
So, this requires you to create a management command for Django, which would take in the conference slug as an argument, call the above-mentioned function and return you the reviewer votes for every proposal submitted for that conference.
@lladhibhutall If you want to tackle a click+argparse+optparse issue, I suggest you take a look at pip's issue related to its CLI: https://github.com/pypa/pip/issues/ 4659.
I wrote some code by reading the django documntation. But the test saying python 2.7 tests are success but python 3.6 is failed. @palnabarun can you review the code. Should I open a PR?
@aniruddha2000 -- #650 was raised to solve this. Maybe you should have a look there?
yes but in #650 the code that the guy wrote that for create a csv file as well as storing the data right? But storing data functionality is already done in the below section right?
So, this requires you to create a management command for Django, which would take in the conference slug as an argument, call the above-mentioned function and return you the reviewer votes for every proposal submitted for that conference.
This call the above-mentioned function is not correct. A function has to be written which has a similar behavior and not use the above-mentioned function.
Activity
areyohrahul commentedon Dec 3, 2017
Hey @kracekumar, I would like to work on it. Can I?
kracekumar commentedon Dec 4, 2017
@rahulxxarora Please go ahead.
djb4ai commentedon Mar 21, 2020
@kracekumar @palnabarun This seems fun, I can take a stab at it. A little guidance is appreciated.
palnabarun commentedon Mar 21, 2020
So, this requires you to create a management command for Django, which would take in the conference slug as an argument, call the above-mentioned function and return you the reviewer votes for every proposal submitted for that conference.
References
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
https://docs.djangoproject.com/en/3.0/howto/custom-management-commands/
We are currently running on Django 1.9 so the Django documentation may be a bit tough to navigate
djb4ai commentedon Mar 21, 2020
@palnabarun I thought the issue had something to do with argparse or click, not very good with django if anybody else wanna take it, go-ahead.
pradyunsg commentedon Mar 21, 2020
@lladhibhutall If you want to tackle a click+argparse+optparse issue, I suggest you take a look at pip's issue related to its CLI: https://github.com/pypa/pip/issues/ 4659.
aniruddha2000 commentedon Jul 30, 2020
I would like to work on this issue
aniruddha2000 commentedon Jul 30, 2020
I wrote some code by reading the django documntation. But the test saying python 2.7 tests are success but python 3.6 is failed. @palnabarun can you review the code. Should I open a PR?
palnabarun commentedon Jul 30, 2020
@aniruddha2000 -- #650 was raised to solve this. Maybe you should have a look there?
aniruddha2000 commentedon Aug 1, 2020
yes but in #650 the code that the guy wrote that for create a csv file as well as storing the data right? But storing data functionality is already done in the below section right?
junction/junction/proposals/dashboard.py
Line 287 in e8cefd7
So I have to create a command that create a csv file and then it call the above function and it will write into the csv file right?
palnabarun commentedon Aug 3, 2020
To anyone reading this after the #553 (comment)
This
call the above-mentioned functionis not correct. A function has to be written which has a similar behavior and not use the above-mentioned function.