-
-
Notifications
You must be signed in to change notification settings - Fork 967
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 a bio field to IndividualMember #720
Comments
Markdown is a decent compromise between security and ease of use for bio content. |
I wasn't sure about adding another dependency. :-) Do you have a favorite library or technique for that? |
It's not that big of a dependency. We used https://github.com/jamesturk/django-markupfield on python.org because we needed to support both ReST and Markdown, but it could be used for just Markdown. However, this library looks pretty good as well https://github.com/adi-/django-markdownx |
I wouldn't mind using django-markupfield and having a choice of reStructuredText (we could copy all the team member's existing bios) vs. markdown, but it annoys me that there's no validation so if invalid reSt is entered, for example, the page renders with an error. Do you know if markdown has a similar issue? It's a slight complication that it adds an extra "markup type" field if we only support markdown. The live preview of django-markdownx looks nice, but it doesn't have a template tag for rendering markdown (we could implement our own or add another dependency). Also, I don't think it works with |
Yeah I think validation is an issue for both. I don't think we need the live editing as much as just having support for an ML format that isn't HTML right? |
Here's a start: #745. This doesn't add a view to allow members to edit their own information. Frank, I think you were working on or planned to work on allowing members to link their member profile to their |
No sadly I haven't made any progress yet. :( |
Could you remind me of the strategy you proposed? I'm thinking to add |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think this is a wontfix. The bio/website fields were added, but then removed because not enough members filled them out and the DSF Board thought it was awkward. |
We're thinking about moving https://docs.djangoproject.com/en/dev/internals/team/ from the documentation to the website. Part of that requires a place to store everyone's bio. The
IndividualMember
model might be a good place for that.We'd eventually like to allow everyone to edit their own bio. I'm not sure if raw HTML or something like reStructuredText would be better. Raw HTML is prone to abuse and the syntax of reStructuredText is difficult to get correct.
The text was updated successfully, but these errors were encountered: