fix
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2024-03-14 22:18:16 +01:00
parent 338f50fe98
commit 5ac0bdc32d
2 changed files with 2 additions and 3 deletions

View File

@ -47,4 +47,5 @@ class SlimJobOffersSerializer(serializers.ModelSerializer):
class Meta:
model = JobOffer
fields = ['id', 'company_name', 'name', 'min_salary', 'max_salary',
'localization', 'image', 'posting_option', 'category', ]
'localization', 'image', 'posting_option', 'category',
'require_salary' ]

View File

@ -15,8 +15,6 @@ urlpatterns = [
path('', include(router.urls)), # test only
path('skill/', views.SkillMainView.as_view(), name='skill-list'),
path('skill/<int:pk>', views.SkillMainView.as_view(), name='skill-list'),
path('joboffers/', views.JobOfferDetailView.as_view(),
name='joboffers-all'),
path('joboffers/<int:pk>/', views.JobOfferDetailView.as_view(),
name='joboffer-detail'),
path('joboffers_list/', views.JobOfferListView.as_view(),