Django app to manage multilingual documents based on django-filer.
Project description
EARLY ALPHA! DO NOT USE THIS!
A Django application to manage multilingual documents and display them on your site in a downloads section.
Comes with a django-cms apphook and is based on django-filer.
Installation
If you want to install the latest stable release from PyPi:
$ pip install django-document-library
If you feel adventurous and want to install the latest commit from GitHub:
$ pip install -e git://github.com/bitmazk/django-document-library.git#egg=document_library
Add document_library to your INSTALLED_APPS:
INSTALLED_APPS = ( ..., 'document_library', )
Run the South migrations:
./manage.py migrate document_library
Admin inline
You can attach documents to any model. To make things easier, you can add a tabular inline to your model’s admin which allows to attach documents.
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]
Contribute
If you want to contribute to this project, please perform the following steps:
# Fork this repository # Clone your fork $ mkvirtualenv -p python2.7 django-document-library $ pip install -r requirements.txt $ ./logger/tests/runtests.sh # You should get no failing tests $ git co -b feature_branch master # Implement your feature and tests # Describe your change in the CHANGELOG.txt $ git add . && git commit $ git push origin feature_branch # Send us a pull request for your feature branch
Whenever you run the tests a coverage output will be generated in tests/coverage/index.html. When adding new features, please make sure that you keep the coverage at 100%.
Roadmap
Check the issue tracker on github for milestones and features to come.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-document-library-0.6.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6813c1bcd4eaf87ba9a455d619f5d85cf9fb6c52b216e0a66351050b246dd5c |
|
MD5 | fbeaea075964f58e5f1939f6ff04a355 |
|
BLAKE2b-256 | a4559ed5ebe9d8feb4ba6e06ac15169bbb5f33bddc6f58ab27bd3978769b1d64 |