Skip to content

Commit

Permalink
Remove unused project-autocomplete view in console.
Browse files Browse the repository at this point in the history
  • Loading branch information
tompollard committed Nov 20, 2023
1 parent dc78036 commit 31aefed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions physionet-django/console/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,17 +984,6 @@ class Meta:
}


class ProjectFilterForm(forms.ModelForm):
class Meta:
model = PublishedProject
fields = ('title',)
widgets = {
'title': autocomplete.ListSelect2(url='project-autocomplete', attrs={
'class': 'border', 'data-placeholder': 'Search...'
})
}


class CodeOfConductForm(forms.ModelForm):
class Meta:
model = CodeOfConduct
Expand Down
2 changes: 0 additions & 2 deletions physionet-django/console/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@

# guidelines
path('guidelines/review/', views.guidelines_review, name='guidelines_review'),

path('user-autocomplete/', views.UserAutocomplete.as_view(), name='user-autocomplete'),
path('project-autocomplete/', views.ProjectAutocomplete.as_view(), name='project-autocomplete'),

# editorial stats
path('usage/editorial/stats/', views.editorial_stats, name='editorial_stats'),
Expand Down

0 comments on commit 31aefed

Please sign in to comment.