Skip to content

Commit

Permalink
remove _static_urls since static_url is now a property of DjangoViteC…
Browse files Browse the repository at this point in the history
…onfig
  • Loading branch information
Niicck committed Oct 14, 2023
1 parent 1ff26b8 commit a71580d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django_vite/templatetags/django_vite.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ class DjangoViteAssetLoader:

_configs = Dict[str, Type[DjangoViteConfig]]
_manifests: Dict[str, Type[DjangoViteManifest]]
_static_urls: Dict[str, str]

def __init__(self) -> None:
raise RuntimeError("Use the instance() method instead.")
Expand Down Expand Up @@ -556,7 +555,6 @@ def instance(cls):
cls._instance = cls.__new__(cls)
cls._instance._configs = {}
cls._instance._manifests = {}
cls._instance._static_urls = {}

if hasattr(settings, "DJANGO_VITE"):
config = getattr(settings, "DJANGO_VITE")
Expand Down

0 comments on commit a71580d

Please sign in to comment.