The Document handler for Glitter you’ve been waiting for.
Installation is simple using pip:
$ pip install django-glitter-documents
Add glitter_documents to your site’s INSTALLED_APPS:
INSTALLED_APPS = [ ... 'glitter_documents', ... ]
And finally, remember to run the migrations:
$ ./manage.py migrate
$ dev-clone email@example.com:developersociety/django-glitter-documents.git $ make reset
Please remember to run make format before you commit, and tox before pushing the changes you make:
$ make format $ git add . $ git commit -m 'Made it do something awesome!' $ tox $ git push
Releasing a new version of the project to PyPi is fairly straight forward.
First, make sure you have the correct credentials for PyPi correctly configued on your machine.
Update and commit the Version History in the README.
Then, use bumpversion to increment the version numbers in the project. This will also create a commit and a tag automatically for the new version. For example, to increment the version numbers for a ‘patch’ release:
$ bumpversion patch $ git push --tags origin master
bumpversion can increment ‘patch’, ‘minor’ or ‘major’ version numbers:
$ bumpversion [patch | minor | major]
Then release the new version to PyPi:
$ make release
Added Makefile for linting, beautficiation and easier PyPi releasing. https://github.com/developersociety/django-glitter-documents/pull/18
Added “View on site” link to list of documents. https://github.com/developersociety/django-glitter-documents/pull/16
Add file extension method to model. https://github.com/developersociety/django-glitter-documents/pull/13
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|django_glitter_documents-0.2.8-py2.py3-none-any.whl (15.1 kB) Copy SHA256 Checksum SHA256||3.5||Wheel||Jun 1, 2017|
|django-glitter-documents-0.2.8.tar.gz (8.7 kB) Copy SHA256 Checksum SHA256||–||Source||Jun 1, 2017|