This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
feat(): implement file upload #4
Comments
stanleyarmstrong
added a commit
to stanleyarmstrong/attendee-application-back-end
that referenced
this issue
Aug 14, 2018
mianuddin
pushed a commit
that referenced
this issue
Aug 16, 2018
…tion and user models (#6) * feat(attendee_application/application, /attendee_application) * feat(./application ./attendee_application): add User model * fix(./application/views.py): fix typo in Users to User * feat(./application): delete permissions on application * feat(./application ./attendee_application): add application fields #2 * feat(./application): add post view for user #2 * fix(./attendee_application): add env variable for Secret Key * fix(./application): fix application permissions atm * chore(all): restructure directories (#7) * chore(all): restructure directories * chore(commitizen): update commitizen configuration * refactor(./application): fix broken imports from cleaning up the project * feat(./application): add file upload #4 * style(./application): fix spacing in serializers * fix(./application/serializers.py): fix post request on user model * fix(./application/views.py): fix JSON requests * style(./application/models.py): fix spacing in models
Not actually completed by the last PR. |
So, again, I don't think it's going to be possible to upload a binary file with JSON. How about this?
@stonewallstan @ohnoitsjmo @Jumer-Caragay |
So we could create a model for the file and give it its own view and endpoint. Then we would reference it with a related_name so it would be connected to the application. We could also probably still use the parsers that we have in this approach. Since multipart accepts files as well. |
stanleyarmstrong
added a commit
to stanleyarmstrong/attendee-application-back-end
that referenced
this issue
Aug 18, 2018
stanleyarmstrong
added a commit
to stanleyarmstrong/attendee-application-back-end
that referenced
this issue
Aug 18, 2018
stanleyarmstrong
added a commit
to stanleyarmstrong/attendee-application-back-end
that referenced
this issue
Aug 18, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: