Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Common web features in Django
ylodi
follow
1
11-13-2007 8:49 AM
223 views
tags:
django
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
35 Powerful Photos That Each Tell A Story
A House is not a Home Without a Pet.
Creative Photography
trick of the eye" delightfully deceptive works of art-
How enlightened are you?
cute animals sleeping
The Truth About Work
ancient acropolis theatre to be restored
Our three deaths
Military Maneuvers at night in Russia
visit the
Top Clips page
View the Top Clips from
November 13, 2007
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/98ca3a8e-7d68-4e8c-b05a-4d22fea9810b/69D3D19A-FA08-4C5D-835D-C6A47A35282B/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://vaig.be/2007/11/11/common-web-features-in-django/" href="http://vaig.be/2007/11/11/common-web-features-in-django/" style="font-size: 11px;">vaig.be</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://vaig.be/2007/11/11/common-web-features-in-django/"><DIV class="itemhead"> <H3><A title="Permanent Link to "Common web features in Django"" rel="bookmark" href="http://vaig.be/2007/11/11/common-web-features-in-django/">Common web features in Django</A></H3> <SMALL class="metadata"> <SPAN class="chronodata">Published November 11th, 2007 in <A rel="category tag" title="View all posts in Django" href="http://vaig.be/category/it/applications/django/">Django</A>, <A rel="category tag" title="View all posts in Applications" href="http://vaig.be/category/it/applications/">Applications</A>, <A rel="category tag" title="View all posts in IT" href="http://vaig.be/category/it/">IT</A></SPAN> </SMALL> </DIV></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://vaig.be/2007/11/11/common-web-features-in-django/"><li style="margin-left:16px;padding-left: 0px;"><STRONG>Breadcrumbs:</STRONG> use {{ block.super }} for recursive link inheritance [<A href="http://www.martin-geber.com/weblog/2007/10/25/breadcrumbs-django-templates/">more info</A>]</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://vaig.be/2007/11/11/common-web-features-in-django/"><li style="margin-left:16px;padding-left: 0px;"><STRONG>Back button:</STRONG> use {{ request.META.HTTP_REFERER }} for linking to referring URL*</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://vaig.be/2007/11/11/common-web-features-in-django/"><STRONG>Highlight active menu option:</STRONG></blockquote><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content7.clipmarks.com/images/clip-icon.gif" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://vaig.be/2007/11/11/common-web-features-in-django/#comment-3237" href="http://vaig.be/2007/11/11/common-web-features-in-django/#comment-3237" style="font-size: 11px;">vaig.be</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://vaig.be/2007/11/11/common-web-features-in-django/#comment-3237"><DIV class="itemtext"> <P>Just make sure you escape it and you’re fine:</p> <P>{{ request.META.HTTP_REFERER|escape }}</p> <P>or</p> <P>{{ request.request.META.HTTP_REFERER|urlize }} to automatically create a link already tagged with rel=”nofollow”.</p> </DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/69D3D19A-FA08-4C5D-835D-C6A47A35282B/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK