Skip to content
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

Add rake coursesurveys:import task #216

Merged
merged 2 commits into from
Feb 24, 2020

Conversation

jameslzhu
Copy link
Member

@jameslzhu jameslzhu commented Feb 24, 2020

Not tested.

Mostly taken from app/helpers/admin/csec_admin_helper.rb, but with some dramatic refactoring in order to allow uploading only a subset of questions (by ID).

def self.import(file, semester, commit=false, is_ta=false)

@jameslzhu jameslzhu changed the title WIP: Add rake coursesurveys:import task Add rake coursesurveys:import task Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant