Skip to content

Import error for Django 4.1 #12

@yutanov

Description

@yutanov

Adding this line to urls.py
url(r'^' + settings.S3_BROWSER_SETTINGS + '/', include('djangoS3Browser.s3_browser.urls')),

get the error:
ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/local/lib/python3.11/site-packages/django/conf/urls/init.py)

How to fix it in Django 4.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions