django-s3-storages-utils

Software screenshot:
django-s3-storages-utils
Software informatie:
Versie: 0.1.0
Upload datum: 20 Feb 15
Ontwikkelaar: Reuven V. Gonzales
Licentie: Gratis
Populariteit: 0

Rating: nan/5 (Total Votes: 0)

django-s3-opslag-utils is een Django app is ontworpen om gebruikers in staat te S3BotoStorage controle, die door de Django-bergingen app.
Het pakket is zeer eenvoudig te installeren. Het enige wat je hoeft te doen is om de volgende code in uw instellingen te zetten:
# Bewaar de statische bestanden in de directory `static` in de S3 bucket
STATIC_S3_STORAGE_LOCATION = 'statische'
# Bewaar de media bestanden in de directory `media` in de S3 bucket
MEDIA_S3_STORAGE_LOCATION = 'media'
DEFAULT_FILE_STORAGE = 's3storagesutils.MediaCachedS3BotoStorage'
STATICFILES_STORAGE = 's3storagesutils.StaticCachedS3BotoStorage'
# Als u de compressor
COMPRESS_STORAGE = STATICFILES_STORAGE

Eisen

  • Python
  • Django

Andere software van ontwikkelaar Reuven V. Gonzales

testkit
testkit

20 Feb 15

Reacties op django-s3-storages-utils

Reacties niet gevonden
Commentaar toe te voegen
Zet op de beelden!