github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

svetlyak40wt / django-apps

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 9
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (1)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (1)
    • v0.1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Django application which provides an information about other installed applications. — Read more

  cancel

http://aartemenko.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Small fix in the readme. 
Alexander Artemenko (author)
Thu Nov 20 16:14:04 -0800 2008
commit  2669d5b1904508dec640f5e9defcf13c5d412b61
tree    853c57452bb62344aa10188c1fcd0820775c4182
parent  657e09734c6e683236e9e3524d56cd155f4a53e1
django-apps /
name age
history
message
file .gitignore Thu Nov 20 15:04:32 -0800 2008 First implementation, without apps descriptions. [Alexander Artemenko]
file LICENSE Thu Nov 20 15:04:32 -0800 2008 First implementation, without apps descriptions. [Alexander Artemenko]
file MANIFEST.in Thu Nov 20 15:04:32 -0800 2008 First implementation, without apps descriptions. [Alexander Artemenko]
file README.md Thu Nov 20 16:14:04 -0800 2008 Small fix in the readme. [Alexander Artemenko]
directory django_apps/ Thu Nov 20 16:01:51 -0800 2008 Descriptions for some applications, ready for i... [Alexander Artemenko]
file setup.py Thu Nov 20 15:04:32 -0800 2008 First implementation, without apps descriptions. [Alexander Artemenko]
README.md

django-apps

Installation

As usual. Place django_apps somewhere in your python path or install it using easy_install:

easy_install django-apps

Then, add django_apps to the INSTALLED_APPS.

Usage

In the any template use template tag installed_apps to receive a list of installed apps along with some information about them.

I use following code in my template, to show apps names along with their versions and descriptions.

{% load apps_tags %}
{% installed_apps as apps %}
<table class="apps">
{% for app in apps %}
    <tr>
        <td>{{ app.name }}</td>
        <td>{{ app.version }}</td>
        <td>{{ app.description }}</td>
    </tr>
{% endfor %}
</table>

You can find an example result at my own 'Installed Apps' page: http://aartemenko.com/about/apps/

Please, note, that descriptions are hardcoded into the code of the django_apps.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server