Skip to content

Commit

Permalink
Merge pull request #45 from acdh-oeaw/44-tuple-object-is-not-callable
Browse files Browse the repository at this point in the history
hotfix for #44
  • Loading branch information
csae8092 authored Aug 4, 2022
2 parents ad38b5e + 23aa335 commit edb7719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 67 deletions.
18 changes: 3 additions & 15 deletions vocabs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,7 @@ def dispatch(self, *args, **kwargs):

class SkosConceptSchemeUpdate(BaseUpdateView):
model = SkosConceptScheme
form_class = SkosConceptSchemeForm = (
'view_skosconceptscheme',
'change_skosconceptscheme',
'delete_skosconceptscheme',
)
form_class = SkosConceptSchemeForm
success_url = None

def get_context_data(self, **kwargs):
Expand Down Expand Up @@ -357,11 +353,7 @@ def dispatch(self, *args, **kwargs):

class SkosCollectionUpdate(BaseUpdateView):
model = SkosCollection
form_class = SkosCollectionForm = (
'view_skoscollection',
'change_skoscollection',
'delete_skoscollection',
)
form_class = SkosCollectionForm
success_url = None

def get_context_data(self, **kwargs):
Expand Down Expand Up @@ -512,11 +504,7 @@ def dispatch(self, *args, **kwargs):

class SkosConceptUpdate(BaseUpdateView):
model = SkosConcept
form_class = SkosConceptForm = (
'view_skosconcept',
'change_skosconcept',
'delete_skosconcept',
)
form_class = SkosConceptForm
success_url = None

def get_context_data(self, **kwargs):
Expand Down
52 changes: 0 additions & 52 deletions webpage/templatetags/browsing_extras.py

This file was deleted.

0 comments on commit edb7719

Please sign in to comment.