mirror of
https://github.com/django-components/django-components.git
synced 2025-08-03 22:08:17 +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):
|
||||
context = {
|
||||
"date": request.GET.get("date", ""),
|
||||
}
|
||||
return self.render_to_response(context)
|
||||
return self.render_to_response(
|
||||
kwargs={
|
||||
"date": request.GET.get("date", ""),
|
||||
},
|
||||
)
|
||||
|
||||
class Media:
|
||||
css = "calendar.css"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue