jazzband / wagtailmenus

An app to help you manage and render menus in your Wagtail projects more effectively
MIT License
398 stars 138 forks source link

ImportError during development #446

Closed ashfaq1934 closed 1 year ago

ashfaq1934 commented 1 year ago

I don't know if this has been brought up before but there's an import error encountered when cloning the repository and following the contributor instructions for local development.

The import error occurs in development/urls.py when importing url from django.conf.urls. As the url function in django has been deprecated since version 3.1, this will need to be replaced with path. Replacing the url function in development/urls.py.example should solve the issue without having to change any of the documentation.