Works with
{% if request.path == '/profile/' %}
I kind of forgot that I used a URL module with 1.11...
Am Montag, 11. Dezember 2017 13:11:20 UTC+1 schrieb Michael Schietzsch:
>
> Hi,
>
> I am pretty new to Django (and therefore python). I started to write a
> website with Django 1.11 and now
Hi,
I am pretty new to Django (and therefore python). I started to write a
website with Django 1.11 and now tried to migrate it to 2.0
I got most working with the help of the new documentation, but I have a
problem with request.path usage in a template. It worked fine with 1.11 but
not with 2.0
2 matches
Mail list logo