Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-private-files

How to install django-private-files

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-private-files
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.2 Available View build log
0.1.1 Available View build log
Windows (64-bit)
0.1.2 Available View build log
0.1.1 Available View build log
Mac OS X (10.5+)
0.1.2 Available View build log
0.1.1 Available View build log
Linux (32-bit)
0.1.2 Available View build log
0.1.1 Available View build log
Linux (64-bit)
0.1.2 Available View build log
0.1.1 Available View build log
 
License
New BSD License (http://www.opensource.org/license
Lastest release
version 0.1.2 on Sep 8th, 2011
=====================
    django-private-files
    =====================


    This application provides utilities for controlling access to static files based on
    conditions you can specify within your Django application.
    It provides a PrivatedFileField model field and appropriate signals for monitoring access to static content.
    The basic goal is that you should be able to specify permissions for each PrivateFileField instance in
    one method (or callable) and leave the rest to django-private-files.
    Additionally you should be able to switch server (eg. from nginx to lighttpd) without hassle and remove
    this application from your project without changes to your database.


    It supports the following methods for limiting access to files:

       * Basic - files are served with Python (not recommended for production if you have another choice)
       * Nginx - you can specify protected locations within your nginx configuration file
       * xsendfile - Apache (with mod_xsendfile), lighttpd and cherokee (not tested yet)


    It's currently been tested with Django 1.3, Apache, Nginx and Lighttpd. It should work with older versions of
    django except for the example project. Cherokee uses the same mechanism as Apache mod_xsendfile and lighttpd, so
    it should work, but it's not been tested or documented.

    The full documentation for the project can be found on `Read the Docs `_ .

Subscribe to package updates

Last updated Sep 8th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.