• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux django-attachments Download

django-attachments

July 30, 2009
This software is a Django-based application that enables users to attach files or attachments to any model. It provides a simple and customizable interface for managing and organizing files, making it a useful tool for businesses and individuals alike.
Version 0.3.1
License BSD License
Platform Linux
Supported Languages English
Homepage www.mahner.org
Developed by Martin Mahner
Django-attachments is a powerful set of template tags designed for the Django framework that enables attaching any type of file to your models. The installation process is effortless, simply add attachments to your INSTALLED_APPS in settings.py within your Django project.

In addition to this, django-attachments offers an extra permission called delete_foreign_attachments to allow users to delete foreign attachments. By default, only the user who uploaded the attachment can delete it.

One of the standout features of django-attachments is its versatility for usage in different contexts. For example, in your contrib.admin, you can add AttachmentInlines to your admin options and get a list of attachments for any kind of model in your app.

Alternatively, you can use the templatetags feature to add or delete attachments using the following three tags:
- "get_attachments_for" to fetch the attachments for the provided model instance,
- "attachment_form" to render an upload form for the model instance, and
- "attachment_delete_link" to render a link to the delete view for a given attachment.

All these tags are highly customizable and come with default variable names to help you tailor them to fit your needs. Additionally, the "attachment_delete_link" tag checks automatically for permission and returns only a link if the current user has the delete_foreign_attachments permission or is the attachment's creator.

Overall, django-attachments is an excellent addition to any Django app that requires file attachments, and its highly customizable tags make it a great choice for both backend and frontend developers.
What's New

Version 0.3.1: N/A

Free Download 63K
376
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

Kamailio
Users collaborate to develop a scalable and robust SIP server with this ...
ComixCursors
ComixCursors is a software package that offers a set of unique Comix ...
Taskbar
Taskbar is a powerful X11 taskbar utility with advanced features, designed to ...
KPuzzle
KPuzzle is a game designed for KDE 3 that allows players to ...
TracDashesSyntaxPlugin
TracDashesSyntaxPlugin is a Trac plugin that replaces double (--) and triple dashes ...
PyXCOM
Pyxcom is a Python-based Graphical User Interface (GUI) and Text-based User Interface ...
D-Bus
D-Bus is a messaging system that allows applications to communicate with one ...
FCKeditor.Java
FCKeditor is a web-based HTML/DHTML editor that supports various programming languages including ...
lame-rtp
Lame 3.58 unified diff available for download; GNU patch required for application.
Network Traffic Analyzer
This software analyzes the network traffic across multiple devices and generates HTML ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.