mirror of
https://github.com/django-components/django-components.git
synced 2025-08-30 10:47:20 +00:00
chore: util to manage URLs in the codebase (#1179)
* chore: util to manage URLs in the codebase * docs: mentiion validate_links and supported_versions in docs * refactor: fix linter errors
This commit is contained in:
parent
5f4fbe76e5
commit
ccf02fa316
67 changed files with 678 additions and 309 deletions
|
@ -55,9 +55,6 @@ class SimpleComponentNested(Component):
|
|||
console.log("Hello");
|
||||
"""
|
||||
|
||||
def get_template_data(self, args, kwargs, slots, context):
|
||||
return {}
|
||||
|
||||
class Media:
|
||||
css = ["style.css", "style2.css"]
|
||||
js = "script2.js"
|
||||
|
@ -78,9 +75,6 @@ class OtherComponent(Component):
|
|||
console.log("xyz");
|
||||
"""
|
||||
|
||||
def get_template_data(self, args, kwargs, slots, context):
|
||||
return {}
|
||||
|
||||
class Media:
|
||||
css = "xyz1.css"
|
||||
js = "xyz1.js"
|
||||
|
@ -91,9 +85,6 @@ class SimpleComponentWithSharedDependency(Component):
|
|||
Variable: <strong>{{ variable }}</strong>
|
||||
"""
|
||||
|
||||
def get_template_data(self, args, kwargs, slots, context):
|
||||
return {}
|
||||
|
||||
class Media:
|
||||
css = ["style.css", "style2.css"]
|
||||
js = ["script.js", "script2.js"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue