Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: allow form filling based on processing of get parameters for submit_new_license #141

Closed
alandtse opened this issue Sep 30, 2019 · 1 comment

Comments

@alandtse
Copy link

I'll be adding a submit new licenses option in spdx-license-diff. This will try to populate some of the fields on the submit_new_license page. While there is a character limit for URIs, it'd be helpful for me to pass the request in a get request to prepopulate the fields that will already be available. I could also do a post request to prepopulate if that helps.

My understanding is that django can enable this fairly easily. Looking at the current form, I'd only prepopulate:

  • sourceUrl
  • text
  • comments
@alandtse
Copy link
Author

Solved this via javascript.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant