Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add migration guide #7

Open
jerinpetergeorge opened this issue Jun 25, 2019 · 1 comment
Open

add migration guide #7

jerinpetergeorge opened this issue Jun 25, 2019 · 1 comment

Comments

@jerinpetergeorge
Copy link
Owner

add relevant details regarding the migration from django-chunked-upload to django-chunk-upload in the doc/readme section

@GitRon
Copy link
Contributor

GitRon commented Jul 18, 2019

What I did:

  1. Change all imports from chunked_upload to django_chunk_upload (incl. migration files)
  2. Change class name ChunkedUploadView to ChunkUploadView (incl. import)
  3. Change class name ChunkedUploadError to ChunkUploadError (incl. import)
  4. Change class name ChunkedUploadCompleteView to ChunkUploadCompleteView (incl. import)
  5. Change class name ChunkedUpload to ChunkUpload (incl. import)
  6. Change method name is_valid_chunked_upload to is_valid_chunk_upload (if you use it)
  7. Change method name create_chunked_upload to create_chunk_upload (if you use it)
  8. Change in the settings in INSTALLED_APPS value chunked_upload to django_chunk_upload
  9. Prefix all used settings variables with DJANGO and change CHUNKED to CHUNK (for example: **DJANGO_CHUNK**_UPLOAD_USE_TEMP_STORAGE instead of **CHUNKED_UPLOAD**_USE_TEMP_STORAGE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants