mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-06 15:28:49 +00:00
PEP fixes
This commit is contained in:
parent
4c7d1e6658
commit
2498cbde79
@ -2,9 +2,7 @@
|
||||
|
||||
""" This module provides template tags for handeling plugins
|
||||
"""
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.conf import settings as djangosettings
|
||||
|
||||
from django import template
|
||||
|
||||
|
||||
@ -16,6 +14,7 @@ def plugin_list(*args, **kwargs):
|
||||
""" Return a list of all installed integration plugins """
|
||||
return djangosettings.INTEGRATION_PLUGIN_LIST
|
||||
|
||||
|
||||
@register.simple_tag()
|
||||
def plugin_settings(plugin, *args, **kwargs):
|
||||
""" Return a list of all settings for a plugin """
|
||||
|
Loading…
x
Reference in New Issue
Block a user