Django-representations v.0.1

Advertisement
Advertisement

This is a simple template tag that selects a template based on the content type of the model passed to it.This presents a convention that allows models to be displayed in certain waysFor instance, for a list of blog entries:diario/entry_archive_day.html ... {% represent entry as "summary.html" %}diario/entry_archive.html ... {% represent entry as "summary.html" %}diario/entry_detail.html ... {% represent entry as "detail.html" %}Each template is placed in representations/diario.entry/The power of this convention is revealed when you do something like a search engine that may be a list of different content types:{% for object in search_result_list %}{% represent object as "search_result.html" %}{% endfor %}#md5=0796cabbf65126c57c80ef0c06290209

This is a simple template tag that selects a ... Django templatetag for representing models ...

 
  • Django-representations
  • 0.1
  • Eric Moritz
  • Linux
  • Freeware
  • 10 Kb
  • 683
  • Free
 
 

Review Django-representations

  • captcha
 

Other software of Eric Moritz
  • Open Palm Desktop  v.1.0Open Palm Desktop plans to be a port of the Palm Desktop Software to java in a modular design. The initial release will inclue the basic, Memo, Datebook, To-Do, and Phonelist Modules. The package will also include coldsync conduits to generate the ...
    
    New HTML Editors software
    • Net Core PDF Generator  v.2021.3.1In .Net core, we convert HTML to PDF by using the IronPDF, HTML to PDF class and asking it to render. It will render any HTML file URL or string into a PDF document, including internal links, bookmarks, images, and so much more.
    • EnWeb HTML Editor  v.1.1EnWeb is a HTML source code editor for Windows that allows you to create and edit web pages. features include easy to use code generator dialogs, cross-browser compatibility, multi-document tab interface and syntax highlighting.
    • OrgChart JS  v.7.6.13A JavaScript library for building interactive Org-Charts, specifically tailored for displaying a company's organizational structure ...
    • TextPipe Lite  v.11.7.1TextPipe is the ultimate Webmaster tool for updating text. It handles an unlimited number of files and folders, and is unique in handling files of unlimited size. It performs one or more changes AT THE SAME TIME, and can search for MULTI-LINE text...
    • Django-navtree  v.0.1.1 AlphaDjango application for adding hierarchical navigation to projects ...
    • Django-secretballot  v.0.2.3Django anonymous voting application ...