You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code smells we found for our project is as follows.
No CSRF protection.
For development convenience, we developed the features without considering CSRF protection till now, using @csrf_exempt in the Django backend. We will soon add appropriate codes to enable CSRF protection.
Repetitive Codes in Backend
Same codes for checking user authentication are repeated in every function in the views.py of the django backend. We will refactor the code and remove the duplicated codes using the decorator.
Imports of Unnecessary Modules
For frontend codes, we've temporary imported some modules which are not actually used after the final implementation. We will remove this unnecessary import statements.
The text was updated successfully, but these errors were encountered:
Code smells we found for our project is as follows.
No CSRF protection.
For development convenience, we developed the features without considering CSRF protection till now, using @csrf_exempt in the Django backend. We will soon add appropriate codes to enable CSRF protection.
Repetitive Codes in Backend
Same codes for checking user authentication are repeated in every function in the views.py of the django backend. We will refactor the code and remove the duplicated codes using the decorator.
Imports of Unnecessary Modules
For frontend codes, we've temporary imported some modules which are not actually used after the final implementation. We will remove this unnecessary import statements.
The text was updated successfully, but these errors were encountered: