on your way towards becoming a great developer.

On Fri, Mar 11, 2022, 18:48 Antonis Christofides <
[email protected]> wrote:

> Hello,
>
> why do you say that importing of TemplateView is missing? I don't see
> TemplateView being used anywhere in that page.
>
> Regards,
>
> Antonis
>
> Antonis Christofides
> +30-6979924665 (mobile)
>
>
> On 11/03/2022 07.42, Dan Cox wrote:
>
> Hi I've been searching on how I might contribute to the tutorials but I
> can't seem to find a way. If you could help me there I could take this
> question to a potentially more useful place.
>
> Anyway; I am pretty new to Django but I've been following the tutorials
> and in the Generic Views section here:
> https://docs.djangoproject.com/en/4.0/intro/tutorial04/
>
> I beleive that there is a missing import statement in the urls.py file:
> from django.views.generic import TemplateView
>
> I was scratching my head trying to work out why I was getting errors and
> upon adding that (which I found in the more general documentation on Views)
> everything worked.
>
> Cheers,
>
> Dan.
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9869e767-7255-40e4-839e-fdcb6d834257n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9869e767-7255-40e4-839e-fdcb6d834257n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d6191aab-6f2a-a29f-e5f8-df4852189ad4%40antonischristofides.com
> <https://groups.google.com/d/msgid/django-users/d6191aab-6f2a-a29f-e5f8-df4852189ad4%40antonischristofides.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJt9CbhUG1hdAWBLcOZDgXGVgwcRDWJrRVQYWZ6ErbwP4PFN-g%40mail.gmail.com.

Reply via email to