-
Notifications
You must be signed in to change notification settings - Fork 7
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
Migrated blogs from old site to new django app (Envision project) #163
base: main
Are you sure you want to change the base?
Conversation
corpus/accounts/urls.py
Outdated
@@ -17,7 +17,7 @@ | |||
path("reset/done/", PasswordResetDoneView.as_view(), name="password_reset_done"), | |||
path( | |||
"reset/confirm/<uidb64>/<token>/", | |||
PasswordResetConfirmView.as_view(), | |||
PasswordResetConfirmView.as_view(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary white space. Did you use pre-commit hooks?
corpus/blog/models.py
Outdated
author=models.ForeignKey(ExecutiveMember,on_delete=models.CASCADE) | ||
slug = models.SlugField(max_length=200,null=True) | ||
description = models.CharField(max_length=400) | ||
author_github = models.CharField(max_length=70,blank=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not just fetch github from the executive member model? Any reasons for adding an extra field here?
author = models.ForeignKey(ExecutiveMember, on_delete=models.CASCADE) | ||
slug = models.SlugField(max_length=200, null=True) | ||
description = models.CharField(max_length=400) | ||
author_github = models.CharField(max_length=70, blank=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not use a URL field instead?
Description
As part of envision project, I migrated all the blogs from the old jekyll site to a new django app.
Fixes # (issue)
Dependencies
markdown v3.6
Type of Change
What types of changes does your code introduce?
Put an
x
in the boxes that applyHow Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration. (for bug fix / breaking change)
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.