I'm going to use uuid in the url like this.
path('cafe/menu/edit/<uuid:menu_id>/', cafe.CafeMenuEditView, name='cafe_menu_edit'),
and when I try to access this url, it gaves me error message in chrome console log like this.
Uncaught SyntaxError: Invalid regular expression flags
I would like to know if there is special way to use uuid in django.
Aucun commentaire:
Enregistrer un commentaire