This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
AUTHORS | Thu May 07 14:43:15 -0700 2009 | |
| |
LICENSE | Thu May 07 14:36:15 -0700 2009 | |
| |
MANIFEST.in | Thu May 07 14:43:15 -0700 2009 | |
| |
README.rst | Thu May 07 14:36:15 -0700 2009 | |
| |
attachments/ | Thu May 07 14:29:55 -0700 2009 | |
| |
setup.py | Thu May 07 17:02:25 -0700 2009 |
README.rst
django-attachments
django-attachments is a generic set of template tags to attach any kind of files to any models.
Quick Example: ==============:
{% load attachments_tags %}
{% get_attachments_for entry as "my_wiki_attachments" %}
{% if my_wiki_attachments %}
<ul>
{% for attachment in my_wiki_attachments %}
<li>
<a href="{{ attachment.attachment_file.url }}">{{ attachment.filename }}</a>
{% attachment_delete_link attachment %}
</li>
{% endfor %}
</ul>
{% endif %}
{% attachment_form entry %}







