Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
====================
django-dogstorage
====================
dogstorage is a so called *development storage engine*.
Many people have the problem with gigantomanic production databases with
gigabytes of pictures/files. It is a pain to keep the image files synchronised
between development and production environments.
Therefore I have written this storage engine. In case a file is not found,
an image from placedog.com_ will be used/displayed
instead.
If you are sick of dogs, you might want to check out _django-kittenstorage_.
Setup
=====
It's on pypi.
``pip install django-dogstorage``
Feel free to clone from github too. Forking is welcome as well :-)
In your django settings file:
``DEFAULT_FILE_STORAGE = 'dogstorage.storages.GreyDog'``
Storage Engines
===============
dogstorage offers two engines:
1. ``dogstorage.storages.GreyDog``
2. ``dogstorage.storages.ColorDog``
Choose depending on the saturation you want. I prefer ``GreyDog`` since it
does have a pretty classy look.
Settings
========
There is only one setting:
DOG_SIZE
Default: ``(1024, 1024)``
A tuple of format `(width, height)`, specifiying the size of the image
requested from placedog__.
.. _placedog.com: http://placedog.com/
__ placedog.com_
django-dogstorage
====================
dogstorage is a so called *development storage engine*.
Many people have the problem with gigantomanic production databases with
gigabytes of pictures/files. It is a pain to keep the image files synchronised
between development and production environments.
Therefore I have written this storage engine. In case a file is not found,
an image from placedog.com_ will be used/displayed
instead.
If you are sick of dogs, you might want to check out _django-kittenstorage_.
Setup
=====
It's on pypi.
``pip install django-dogstorage``
Feel free to clone from github too. Forking is welcome as well :-)
In your django settings file:
``DEFAULT_FILE_STORAGE = 'dogstorage.storages.GreyDog'``
Storage Engines
===============
dogstorage offers two engines:
1. ``dogstorage.storages.GreyDog``
2. ``dogstorage.storages.ColorDog``
Choose depending on the saturation you want. I prefer ``GreyDog`` since it
does have a pretty classy look.
Settings
========
There is only one setting:
DOG_SIZE
Default: ``(1024, 1024)``
A tuple of format `(width, height)`, specifiying the size of the image
requested from placedog__.
.. _placedog.com: http://placedog.com/
__ placedog.com_
Metadata
Release files for django-dogstorage 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-dogstorage-1.0.0.tar.gz | 2.6 kB | Details |
Release files / django-dogstorage-1.0.0.tar.gz
| Download URL | django-dogstorage-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6bb9a60322b35afc1dd63e8c1ad7e5f6c2240c65667c18685056da2b5d425de
|
|
BLAKE2b-256 checksum How to use checksums |
3fcc5d0988db64257374f280ded9d0c55bd26895c78d6b0913a2fa31a98b021f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |