The only change needed was due to django.conf.urls.url() being deprecated in 3.0 and removed in 4.0. django.url,re_path() can be used here as a drop-in replacement.
I also removed django.conf.urls.static.static() as it was unused.
I tested locally, and everything appears to be working as intended.
I set a primary key type to ratings to avoid future issues.
This updates the codebase to django 4.0.6.
The only change needed was due to django.conf.urls.url() being deprecated in 3.0 and removed in 4.0. django.url,re_path() can be used here as a drop-in replacement.
I also removed django.conf.urls.static.static() as it was unused.
I tested locally, and everything appears to be working as intended.
I set a primary key type to ratings to avoid future issues.
I rewrote the urls.py for consistency purposes.