ShizukaDonaghue / luve

LUVE is a full-stack web application built with Django. It's an online store for safe sunblock.
https://luve.herokuapp.com/
0 stars 1 forks source link

BUG: Brand Names with Space #90

Closed ShizukaDonaghue closed 1 year ago

ShizukaDonaghue commented 1 year ago

The business owner/staff can add new brands to the store by entering a new brand name into the database without having to update the model itself. This functionality works fine as expected, however, when a brand name with a space is entered, it creates an HTML validation error as space is not allowed.

ShizukaDonaghue commented 1 year ago

The brand model has been updated to include display_name field so that the business owner/staff can enter a brand name as they would like to see it on their site, however, they will need to enter the name without space in the brand name field, so this is not an ideal solution. For future development, a frond end panel will be created so that the business owner/staff can just enter the brand name as they would like to see it on their site and it will be converted to an acceptable format and stored in the database. This will not be completed for PP5 submission due to time constraints.

ShizukaDonaghue commented 1 year ago

Issue #91 has been created for future development. This issue for the bug has been closed.