This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Django has ImageField and FileField which can be used for file and image operations. Django fields has problem that they store image and files on disk. They also don't delete older files when new files are uploaded. To solve this issue new field developed.

cf_s3field.S3ImageField
-----------------------
``s3ImageField`` is django model field which is replacement for django ``ImageField``.
```python
from cf_s3field.files import S3ImageField

class User(models.Model):
first_name = models.CharField(max_length=100)
profile_pic = S3ImageField(bucket='<your bucket="">', key='profile_user_{first_name}')

user = User.objects.get(id=1)
user.first_name = "Hitul"
user.save()
```
In above example key ``first_name`` will be replaced by ``Hitul``. ImageField will also accept default django ImageField parameters. key is file name format. In s3 you will store multiple files. To seperate all images from each other key is introduced. Key values will be repalced by values specified in as extra attributes.

cf_s3field.S3FileField
-----------------------
``s3FileField`` is django model field which is replacement for django ``FileField``.
```python
from cf_s3field.files import S3ImageField

class User(models.Model):
first_name = models.CharField(max_length=100)
resume = S3FileField(bucket='<your bucket="">', key='profile_user_{first_name}')

user = User.objects.get(id=1)
user.first_name = "Hitul"
user.save()
```
0.0.4 - Fri Oct 30
------------------
- Django 1.7 support

0.0.3 - Wed Oct 28
------------------
- No need to specifify migrate as argument
- Lazy connection implemented. When someone uploads at that time connection to boto will be created.

0.0.2 - Mon Oct 26
------------------
- README.md file changed to README.rst
- Debug statements removed

0.0.1 - Sat Oct 24
------------------
Initial release
Release History

Release History

0.0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cf_s3field-0.0.4.tar.gz (8.7 kB) Copy SHA256 Checksum SHA256 Source Oct 30, 2015
cf_s3field-0.0.4.zip (12.6 kB) Copy SHA256 Checksum SHA256 Source Oct 30, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting