PetrDlouhy / django-next-url-mixin

Next url mixin which doesn't is safe to phishing attacks
MIT License
3 stars 0 forks source link

Broken import in readme example #3

Open pavlutom opened 1 year ago

pavlutom commented 1 year ago

Description

Import from the eadme example doesn't work (ImportError).

What I Did

Using

from next_url_mixin.mixin import NextUrlMixin

instead of

from next_url_mixin import NextUrlMixin

solves the problem.

PetrDlouhy commented 1 year ago

@pavlutom Thanks. Should be fixed now.