Django-representations v.0.1


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
  • 649
  • 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
    • OrgChart JS  v.5.3.3A JavaScript library for building interactive Org-Charts, specifically tailored for displaying a company's organizational structure ...
    • Rapid PHP 2018  v.15.5Quick, lightweight and very powerful PHP editor that combines features of a fully-packed PHP IDE with unmatched speed. Rapid PHP is the most complete all-in-one software for coding PHP, HTML, CSS, JavaScript with integrated debugger and other tools.
    • HTMLPad 2018  v.15.5Quick, intelligent and powerful HTML, CSS, JavaScript editor. Packed with sophisticated features and tools, HTMLPad enables you to create, edit, validate, reuse, navigate and deploy your HTML, CSS and JavaScript code faster and easier than ever.
    • WeBuilder 2018  v.15.5Intelligent and powerful code editor for web development. Edit HTML, CSS, JavaScript, PHP, Ruby, Python, ASP etc. within single program. Clean interface, quick startup, superb flexibility and powerful features enable you to do more in less time.
    • Django-navtree  v.0.1.1 AlphaDjango application for adding hierarchical navigation to projects ...
    • Django-secretballot  v.0.2.3Django anonymous voting application ...