Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 980 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 980 Bytes

Image Size Limit Django

This is a mid-level project using (Django, bootstrap5, HTML5, CSS3 and js).

I have used ajax to send a json data(size, dimentions) asynchronously to the backend and then reuse that in the template.

if you upload an image more that 200KB, the javascript will prevent you to upload the file and it wont be stored in that database.

redLine

Write these commands in your terminall to run this web application 👇👇👇

python -m venv .venv

.venv\Scripts\activate.bat

pip install -r requirements.txt

python manage.py runserver

Screenshot (183) Screenshot (181)