Skip to content

Conversation

@vladislav-KN
Copy link

No description provided.

urlpatterns = [
path("", IndexJobsListView.as_view(), name="jobs"),
path("<int:pk>/", JobDetailView.as_view(), name="job"),
# path('<int:pk>/', views.DetailView.as_view(), name='detail'),
Copy link
Owner

Choose a reason for hiding this comment

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

Закомментированный код лучше не оставлять в репозтиории

@@ -1,28 +0,0 @@
# Generated by Django 4.1.1 on 2022-09-26 13:57
Copy link
Owner

Choose a reason for hiding this comment

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

Старые миграции лучше не удалять в виду того что они могут быть уже применены на серверах. Если нужно сделать изменение, то лучше создать новую миграцию.

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