Socket
Socket
Sign inDemoInstall

django-files-library

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-files-library

django files Library component


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc