Skip to content

Commit

Permalink
* change template name
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj Sharma committed Mar 22, 2021
1 parent f003296 commit 41bb48b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_admin_sbf/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DjangoAdminSBF(ModelAdmin):
Extend this class to add advanced search in the admin panel
"""

change_list_template = 'admin/custom_change_list.html'
change_list_template = 'admin/sbf_custom_change_list.html'

def get_changelist(self, request, **kwargs):
from .admin_forms import CustomChangeList
Expand Down
2 changes: 1 addition & 1 deletion django_admin_sbf/templatetags/custom_search_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
register = template.Library()


@register.inclusion_tag('admin/custom_search_form.html', takes_context=False)
@register.inclusion_tag('admin/sbf_custom_search_form.html', takes_context=False)
def advanced_search_form(cl):
"""
Displays a search form for searching the list.
Expand Down

0 comments on commit 41bb48b

Please sign in to comment.