Skip to main content

django library

django library is file management django app with user permissions and file download layer

Installation 1. install the package using “pip install git+git://github.com/ahmadiga/django-files-library.git” or “pip install django-files-library” 2. Add “django_files_library” to your INSTALLED_APPS setting. 3. Add ` url(r'django_files_library/', include('django_files_library.urls')), ` to urls.py.

Configurations DJANGO_FILES_LIBRARY_ADD_FILE_FORM_CLASS A string pointing to a custom form class (e.g. ‘myapp.forms.AddFileForm’) that is used during adding new file.

DJANGO_FILES_LIBRARY_INLINE_FORM Boolean flag to display upload file form to the list or display it in a separate page

Render library To render library user the following template tags: 1.```{% load django_files_library %}```:import template tag 2.```{% render_library <library object> %}```:to render a full view of the library 3.```{% render_library_list <library object> %}```:to render files list only

### TBD

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-files-library-0.1.5.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file django-files-library-0.1.5.tar.gz.

File metadata

File hashes

Hashes for django-files-library-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3926224540180a1240ee6f106388a02573449e9c7c758b4342110fbcb5b17a23
MD5 8cf8e944bf22a8dff62c800f7168354f
BLAKE2b-256 a271c0c04b72d8076a9a81693facc58048714627c852a5997aecee10575a8d5f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 file

0.1.4

1 file

0.1.3

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page