Skip to content

Commit

Permalink
refactor template location from admin/finder into finder/admin
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Oct 25, 2024
1 parent f658b9d commit e1722ff
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion finder/admin/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Meta:
@admin.register(FileModel)
class FileAdmin(InodeAdmin):
form = FileModelForm
form_template = 'admin/finder/change_file_form.html'
form_template = 'finder/admin/change_file_form.html'
readonly_fields = ['details', 'owner', 'created_at', 'last_modified_at', 'mime_type', 'sha1']

@property
Expand Down
2 changes: 1 addition & 1 deletion finder/admin/folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

@admin.register(FolderModel)
class FolderAdmin(InodeAdmin):
form_template = 'admin/finder/change_folder_form.html'
form_template = 'finder/admin/change_folder_form.html'
_model_admin_cache = {}
_legends = {
'name': _("Name"),
Expand Down

0 comments on commit e1722ff

Please sign in to comment.