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

CORE-211 Poetry Update #13

Merged
merged 5 commits into from
Jan 25, 2022
Merged

CORE-211 Poetry Update #13

merged 5 commits into from
Jan 25, 2022

Conversation

stuart-bradley
Copy link
Contributor

Jira-ID: CORE-211

This PR modenizes the cd/ci pipeline for this repo.

@stuart-bradley stuart-bradley self-assigned this Jan 25, 2022
Comment on lines +10 to +11
re_path(r'^post-view/(?P<pk>[0-9]+)', views.approved_function_view),
re_path(r'^post-cbv/(?P<pk>[0-9]+)', views.ApprovedClassBasedView.as_view()),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the regular expression or would the following also do it? I personally find this more pleasing to the eye but I'll leave it up to you.

    path('post-view/<int:pk>', views.approved_function_view),
    path('post-cbv/<int:pk>', views.ApprovedClassBasedView.as_view()),

]

[tool.poetry.dependencies]
python = "^3.6"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be python = "^3.10" to match everything else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's a public repo we need to support eariler versions.

Comment on lines +5 to +6
re_path('^admin/', admin.site.urls),
re_path('^blog/', include('example.urls')),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using path here should be fine and do the same thing.

    path('admin/', admin.site.urls),
    path('blog/', include('example.urls')),

@stuart-bradley stuart-bradley merged commit fa773e8 into master Jan 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the CORE-211_poetry_update branch January 25, 2022 16:19
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.

2 participants