Skip to content

Instantly share code, notes, and snippets.

@josephmisiti
Created August 21, 2012 15:16
Show Gist options
  • Save josephmisiti/3416424 to your computer and use it in GitHub Desktop.
Save josephmisiti/3416424 to your computer and use it in GitHub Desktop.
for req in range(0,21):
reqname = 'job_required_skill_' + str(req)
if reqname in request.POST:
required_skills.append(request.POST[reqname])
for pref in range(0,21):
prefname = 'job_required_skill_' + str(pref)
if prefname in request.POST:
preferred_skills.append(request.POST[prefname])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment