mirror of
https://github.com/django-components/django-components.git
synced 2025-08-18 13:10:13 +00:00
parent
2f14e8e090
commit
58b3ad3c8d
1 changed files with 5 additions and 4 deletions
|
@ -48,10 +48,11 @@ class CalendarRelative(Component):
|
||||||
}
|
}
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
context = {
|
return self.render_to_response(
|
||||||
"date": request.GET.get("date", ""),
|
kwargs={
|
||||||
}
|
"date": request.GET.get("date", ""),
|
||||||
return self.render_to_response(context)
|
},
|
||||||
|
)
|
||||||
|
|
||||||
class Media:
|
class Media:
|
||||||
css = "calendar.css"
|
css = "calendar.css"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue