Reversing Django Views and URLs

  Рет қаралды 15,959

Chuck Severance

Chuck Severance

Күн бұрын

Пікірлер: 15
@pranabsarma4151
@pranabsarma4151 Жыл бұрын
Hi Dr Chuck! Why you have not used reverse_lazy() for the u3? 11:40
@maremagnumHojarasca
@maremagnumHojarasca 8 ай бұрын
Your videos are pure gold, thanks so much!
@SisiraSomaratne
@SisiraSomaratne 4 жыл бұрын
Thank you for explaining it. But what is the difference between reverse and reverse_lazy ?
@mehmedkukavica8076
@mehmedkukavica8076 Жыл бұрын
reverse_lazy()¶ A lazily evaluated version of reverse(). reverse_lazy(viewname, urlconf=None, args=None, kwargs=None, current_app=None)¶ It is useful for when you need to use a URL reversal before your project’s URLConf is loaded. Some common cases where this function is necessary are: providing a reversed URL as the url attribute of a generic class-based view. providing a reversed URL to a decorator (such as the login_url argument for the django.contrib.auth.decorators.permission_required() decorator). providing a reversed URL as a default value for a parameter in a function’s signature.
@Gauravsharma-gs9dt
@Gauravsharma-gs9dt 4 жыл бұрын
best resource to learn this confusing url resolver concept.. keep it up
@O30495
@O30495 4 жыл бұрын
That explained sooo much, Ive been having this problem for months and no was able to explain it properly like you
@juniornicolodi
@juniornicolodi 2 жыл бұрын
great content, you are a greate teacher!
@tulczi
@tulczi 4 жыл бұрын
that's a great explanation, really, thanks :)
@durandekamga2298
@durandekamga2298 3 жыл бұрын
Great explaination !!!
@ImmediatelyLeaveYT
@ImmediatelyLeaveYT 2 жыл бұрын
thank you so much!
@KevinTempelx
@KevinTempelx 4 жыл бұрын
Thanks!
@sk7w4tch3r
@sk7w4tch3r 4 жыл бұрын
thank you :)
@vishalmishra1937
@vishalmishra1937 4 жыл бұрын
reverse vs reverse_lazy
@mehmedkukavica8076
@mehmedkukavica8076 Жыл бұрын
Great, but nothing intuitive. Pure technology. Thank you, professor, for your effort and for making it possible for us to learn much more easily than having to study documentation. I modified the second.html code a bit and it works like crazy. go to gview dogs list (x2 from context)
Using Django Forms Capabilities
13:26
Chuck Severance
Рет қаралды 9 М.
Search Records Between to and from Date Range Python Django
23:31
Haritha Computers & Technology
Рет қаралды 19 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 9 МЛН
How to create login page using Django
12:17
Trinity software academy
Рет қаралды 48 М.
Introduction to Django Models
19:59
Chuck Severance
Рет қаралды 15 М.
URL Routing in Django
7:00
Chuck Severance
Рет қаралды 9 М.
Understanding Django Generic Views
16:29
Chuck Severance
Рет қаралды 14 М.
How Databases Work
18:58
Chuck Severance
Рет қаралды 14 М.
The Django Template Language (DTL)
11:00
Chuck Severance
Рет қаралды 7 М.
Using Sessions in Django
12:34
Chuck Severance
Рет қаралды 23 М.
A Simple Many-To-Many Example in Django
12:36
Chuck Severance
Рет қаралды 14 М.