Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
S4bril committed Feb 11, 2025
1 parent 4bee6cc commit 71bcb61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion zapisy/apps/offer/assignments/sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ def read_assignments_sheet(sheet: gspread.models.Spreadsheet) -> Iterator[Single

def update_courses_sheet(sheet: gspread.models.Spreadsheet, courses: List[SingleCourseData]):
data = [[
'Proposal ID', 'Przedmiot', 'Rodzaj', 'Tagi tematyczne (I st.)', 'Tagi specjalistyczne (II st.)', 'ECTS', 'Semestr',
'Proposal ID', 'Przedmiot', 'Rodzaj', 'Tagi tematyczne (I st.)',
'Tagi specjalistyczne (II st.)', 'ECTS', 'Semestr',
'Planowana liczba grup', 'Uruchomiona liczba grup'
]]

Expand Down
3 changes: 2 additions & 1 deletion zapisy/apps/offer/proposal/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
@admin.register(Proposal)
class ProposalAdmin(admin.ModelAdmin):
list_filter = ('status', 'semester', 'course_type', ('owner', admin.RelatedOnlyFieldListFilter),
'modified', 'thematic_tags', 'specialist_tags', ('courseinstance__semester', admin.RelatedOnlyFieldListFilter))
'modified', 'thematic_tags', 'specialist_tags',
('courseinstance__semester', admin.RelatedOnlyFieldListFilter))
list_display = ('name', 'owner', 'course_type', 'semester', 'status', 'modified',
'last_semester')
search_fields = ('name', 'name_en')
Expand Down

0 comments on commit 71bcb61

Please sign in to comment.