Skip to content

Commit

Permalink
Remove errant print call.
Browse files Browse the repository at this point in the history
  • Loading branch information
amanning9 committed May 30, 2024
1 parent 64fff6e commit d39424c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jasmin_services/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def swapable_view(setting_name: str, default_view_class: django.views.View) -> d
# If the setting is a string, try to import it.
if isinstance(setting_name, str):
view_class = django.utils.module_loading.import_string(setting_value)
print(view_class)
if not issubclass(view_class, default_view_class):
raise django.core.exceptions.ImproperlyConfigured(
f"Swappable view {default_view_class} for {setting_name} must be a subclass of {default_view_class}."
Expand Down

0 comments on commit d39424c

Please sign in to comment.