Fullstack Fruit & Veg Shop: A web application developed with HTML, CSS, and JavaScript for the frontend, and Django for the backend. Features include user authentication, a product catalogue, shopping cart functionality, and order management. and much more
Feat: Refactor
ban_user_form
and update ban handlinguser_ban_record.ban_for_date_range
method, allowing two dates to be entered instead of banning by a set number of days.models.py
to handle naive datetime by converting it to an aware datetime usingmake_aware
.validate_date_ranges
in the ban_user_form and moved the logic to it to make theclean
method function cleaner