Quantcast
Channel: Satish Gandham » The Django Book Notes
Browsing latest articles
Browse All 3 View Live

What do Dollar and Caret ( $ and ^) sign in Django urls mean?

$ and ^ are regular expression characters that have a special meaning: the caret means “require that the pattern matches the start of the string,” and the dollar sign means “require that the pattern...

View Article



Restrict Django Templates From Deleting Data.

Django allows method calls inside template system. Though this is an useful feature, some of the methods will have side effects. Mostly the ones that alter data. Say, for instance, you have a...

View Article

Djnago | Set the defulat ordering rule for queries in the models

Though we can specify order explicitly in queries like below Posts.objects.order_by('published') it is repetitive and most of the times we will want to order by a particular field. We can specify the...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images