PythonBulawayo / ChitChat

MIT License
24 stars 28 forks source link

Add media upload support #67

Open terrameijar opened 1 month ago

terrameijar commented 1 month ago

Adds ability to upload profile pictures. The profile images can be updated via PUT requests in the API or directly in the django admin. This implementation uploads photos to the server's file system. The next step is to upload files to a blob store like AWS S3

{B0D7BD75-41A0-49FB-928F-88520676822A}

terrameijar commented 1 month ago

Migrations are part of the code, they track the changes to the database schema over time and create a consistent environment for all contributors to the project.

They keep your code in sync with the DB and make it easy to revert to a previous state if anything ever went wrong with the database.

Not tracking them in git could lead to conflicts if different contributors maintained their own local migrations.

On Thu, 10 Oct 2024, 23:32 Ngonidzashe Mangudya, @.***> wrote:

@.**** commented on this pull request.

Out of curiosity, what are our thoughts on having migration files as part of the repo?

— Reply to this email directly, view it on GitHub https://github.com/PythonBulawayo/ChitChat/pull/67#pullrequestreview-2361458506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2CARGGVJU2BYFIVNY4CJTZ23W7ZAVCNFSM6AAAAABPXSV6VWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNRRGQ2TQNJQGY . You are receiving this because you were assigned.Message ID: @.***>

iamngoni commented 1 month ago

@terrameijar Sure, thanks.