mirror of
https://github.com/django-components/django-components.git
synced 2025-08-03 22:08:17 +00:00
Render components as views (#366) (thanks @dylanjcastillo)
This commit is contained in:
parent
b29e7fba80
commit
91b4accfeb
10 changed files with 347 additions and 15 deletions
6
sampleproject/components/urls.py
Normal file
6
sampleproject/components/urls.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.urls import path
|
||||
from greeting import Greeting
|
||||
|
||||
urlpatterns = [
|
||||
path("greeting/", Greeting.as_view(), name="greeting"),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue