parent
1cb4268d5f
commit
f35406d847
@ -17,8 +17,10 @@ class Migration(migrations.Migration):
|
||||
name='DBFile',
|
||||
fields=[
|
||||
('name', models.CharField(max_length=100,
|
||||
primary_key=True,
|
||||
serialize=False)),
|
||||
('filehash', models.CharField(max_length=32,
|
||||
primary_key=True,
|
||||
serialize=False)),
|
||||
('content_type', models.CharField(max_length=100)),
|
||||
('b64', models.TextField()),
|
||||
],
|
||||
|
@ -27,18 +27,6 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='dbfile',
|
||||
name='name',
|
||||
field=models.CharField(max_length=100),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='dbfile',
|
||||
name='filehash',
|
||||
field=models.CharField(default='filehash', max_length=32, primary_key=True, serialize=False),
|
||||
preserve_default=False,
|
||||
),
|
||||
|
||||
migrations.RunPython(copy_filehash),
|
||||
migrations.RunPython(fix_filename),
|
||||
]
|
||||
|
@ -54,9 +54,9 @@ author = u'Tyrel Souza'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = u'0.2.0'
|
||||
version = u'0.3.0'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u'0.2.0'
|
||||
release = u'0.3.0'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
2
setup.py
2
setup.py
@ -24,7 +24,7 @@ class CleanCommand(Command):
|
||||
|
||||
setup(
|
||||
name="django-dbfilestorage",
|
||||
version="0.2.0",
|
||||
version="0.3.0",
|
||||
description="Database backed file storage for testing.",
|
||||
long_description="Database backed file storage for testing. Stores files as base64 encoded textfields.",
|
||||
author="Tyrel Souza",
|
||||
|
Loading…
Reference in New Issue
Block a user