From a2225bf58fb3ac1b923b7f174a7f73c735b3ce77 Mon Sep 17 00:00:00 2001 From: Mikko Ahonen Date: Sun, 21 Apr 2024 20:05:22 +0300 Subject: [PATCH 1/2] Fix: Fixed load tag name in README Fixes EmilStenstrom/django-components#447 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ead11709..3239603e 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ STATICFILES_DIRS = [ ### Optional -To avoid loading the app in each template using ``` {% load django_components %} ```, you can add the tag as a 'builtin' in settings.py +To avoid loading the app in each template using ``` {% load component_tags %} ```, you can add the tag as a 'builtin' in settings.py ```python TEMPLATES = [ From 8f674000fa22fda0c0e40c92726588c446b5d3b7 Mon Sep 17 00:00:00 2001 From: Mikko Ahonen Date: Sun, 21 Apr 2024 20:11:05 +0300 Subject: [PATCH 2/2] Fix: Fixed calendar view example in README Fixes EmilStenstrom/django-components#446 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3239603e..4e3856ad 100644 --- a/README.md +++ b/README.md @@ -480,7 +480,7 @@ Then, to use this component as a view, you should create a `urls.py` file in you ```python # In a file called [project root]/components/urls.py from django.urls import path -from calendar import Calendar +from components.calendar.calendar import Calendar urlpatterns = [ path("calendar/", Calendar.as_view()),