django-object-attachments-0.1
توضیحات
Allows to add django-document-library objects to a any other object.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-object-attachments-0.1 |
| نام | django-object-attachments |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Martin Brochhaus |
| ایمیل نویسنده | mbrochh@gmail.com |
| آدرس صفحه اصلی | https://github.com/bitmazk/django-object-attachments |
| آدرس اینترنتی | https://pypi.org/project/django-object-attachments/ |
| مجوز | The MIT License |
Django Object Attachments
=========================
Allows you to add attachments to any object. Extends the object's model admin
with a tabular inline for adding documents. This is based on
`django-filer <https://github.com/stefanfoulis/django-filer>`_ and
`django-document-library <https://github.com/bitmazk/django-document-library>`_.
Installation
------------
You need to install the following prerequisites in order to use this app:
* Django
* django-cms
* cmsplugin-blog
* django-filer
* django-document-library
If you want to install the latest stable release from PyPi::
$ pip install django-object-attachments
If you feel adventurous and want to install the latest commit from GitHub::
$ pip install -e git://github.com/bitmazk/django-object-attachments.git#egg=object_attachments
Add ``object_attachments`` to your ``INSTALLED_APPS``::
INSTALLED_APPS = (
...,
'object_attachments',
)
Run the migrations::
./manage.py migrate object_attachments
Usage
-----
In your project's ``models.py`` or any file that get's loaded early, do the
following::
from yourapp.admin import YourAdmin
from object_attachments.admin import ObjectAttachmentInline
YourAdmin.inlines = YourAdmin.inlines[:] + [ObjectAttachmentInline]
Roadmap
-------
Check the issue tracker on github for milestones and features to come.
نحوه نصب
نصب پکیج whl django-object-attachments-0.1:
pip install django-object-attachments-0.1.whl
نصب پکیج tar.gz django-object-attachments-0.1:
pip install django-object-attachments-0.1.tar.gz