Update Readme

This commit is contained in:
Tyrel Souza 2017-01-26 14:12:01 -05:00
parent ff3c2f327a
commit 07e83f41e1
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5

View File

@ -3,7 +3,7 @@
[![CircleCI](https://circleci.com/gh/tyrelsouza/django-dbfilestorage.svg?style=svg)](https://circleci.com/gh/tyrelsouza/django-dbfilestorage) [![codecov](https://codecov.io/gh/tyrelsouza/django-dbfilestorage/branch/master/graph/badge.svg)](https://codecov.io/gh/tyrelsouza/django-dbfilestorage) [![CircleCI](https://circleci.com/gh/tyrelsouza/django-dbfilestorage.svg?style=svg)](https://circleci.com/gh/tyrelsouza/django-dbfilestorage) [![codecov](https://codecov.io/gh/tyrelsouza/django-dbfilestorage/branch/master/graph/badge.svg)](https://codecov.io/gh/tyrelsouza/django-dbfilestorage)
Custom file storage for Django that stores file data and content type in the database. Custom file storage for Django that stores file data and content type in the database.
Easy to use for testing when you don't care about a filename, and just want to test file data. Easy to use for testing remote storages when you're in a transition stage between Local and something like Amazon S3.
Intended to be used in tests, never in production. Intended to be used in tests, never in production.
@ -41,11 +41,8 @@ class SomeClass(models.Model):
## TODO ## TODO
- More Tests
- Test that this works on a fake model, not just the storage file. - Test that this works on a fake model, not just the storage file.
- Different django and different python versions. - Different django and different python versions.
- Store original filename in a field, maybe?
- Use original filename instead, so it honors the "upload_to" parameter.
## Signing Key ## Signing Key
You can find my signing key at [TyrelSouza.com](https://tyrelsouza.com/blog/pgp-keys/) You can find my signing key at [TyrelSouza.com](https://tyrelsouza.com/blog/pgp-keys/)