Ben,
I'm guessing you're running Oscar 0.7? I renamed the backend in
https://github.com/tangentlabs/django-oscar/commit/d040fee3f18b46cdc374a780478c2686c2076253
Changing the setting to 'oscar.apps.customer.auth_backends.Emailbackend'
(note the lowercase, non-pythonic B in backend) should do the trick.
My change happened after the release of 0.7. I would've expected the
docs for version 0.7
(
http://django-oscar.readthedocs.org/en/releases-0.7/internals/getting_started.html)
to specify the old (correct for <0.8) spelling. I'm sorry about that,
that's a problem with how our docs are build and I will look into that.
Regards,
Maik
> <
https://github.com/tangentlabs/django-oscar/blob/0.7.1/oscar/apps/customer/auth_backends.py#L17>,
> it sounds like a circular import problem. Now sure
> how to fix - but I would walk back through the
> changes you've made from a working version to see
> where the imports were changed.
>
>
> On 11 June 2014 14:23, Ben Brown <
bobt...@gmail.com>
> wrote:
>
> I am trying to start a project from scratch and
> have a few questions I am getting this
> error oscar.apps.customer.__auth___backends.EmailBackend
> does not define a "EmailBackend" not sure how to
> fix this it's only occurring when I try to
> access the backend has anyone had this issue before.
>
> --
>
https://github.com/__tangentlabs__/django-oscar
> <
https://github.com/tangentlabs/django-oscar>
>
http://django-oscar.__
readthedoc__s.org/en/latest/
> <
http://django-oscar.readthedocs.org/en/latest/>
>
https://twitter.com/django___osc__ar
> <
https://twitter.com/django_oscar>
> ---
> You received this message because you are
> subscribed to the Google Groups "django-oscar"
> group.
> To unsubscribe from this group and stop
> receiving emails from it, send an email to
> django-oscar...@__googlegroups.__com.
>
> Visit this group at
>
http://groups.google.com/__group__/django-oscar
> <
http://groups.google.com/group/django-oscar>.
> To view this discussion on the web visit
>
https://groups.google.com/d/__ms__gid/django-oscar/0a2d0494-__9939__-4daf-bbbc-57aed5fc7321%__40goog__legroups.com
> <
https://groups.google.com/d/msgid/django-oscar/0a2d0494-9939-4daf-bbbc-57aed5fc7321%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
>
https://groups.google.com/d/__op__tout
> <
https://groups.google.com/d/optout>.
>
>
>
>
> --
> *David Winterbottom*
> Technical Director
>
> Tangent Snowball
> 84-86 Great Portland Street
> London W1W 7NR
> England, UK
>
> --
>
https://github.com/__tangentlabs/django-oscar
> <
https://github.com/tangentlabs/django-oscar>
>
http://django-oscar.__
readthedocs.org/en/latest/
> <
http://django-oscar.readthedocs.org/en/latest/>
>
https://twitter.com/django___oscar
> <
https://twitter.com/django_oscar>
> ---
> You received this message because you are subscribed to
> the Google Groups "django-oscar" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to
> django-oscar...@__
googlegroups.com.
> Visit this group at
>
http://groups.google.com/__group/django-oscar
> <
http://groups.google.com/group/django-oscar>.
> To view this discussion on the web visit
>
https://groups.google.com/d/__msgid/django-oscar/4500367c-__be53-41e9-b7b3-4a51d409f8ec%__40googlegroups.com
> <
https://groups.google.com/d/msgid/django-oscar/4500367c-be53-41e9-b7b3-4a51d409f8ec%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> For more options, visit
>
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
>
>
>
>
> --
> *David Winterbottom*
> <
https://github.com/tangentlabs/django-oscar>
>
http://django-oscar.readthedocs.org/en/latest/
> <
http://django-oscar.readthedocs.org/en/latest/>
>
https://twitter.com/django_oscar <
https://twitter.com/django_oscar>
> ---
> You received this message because you are subscribed to the
> Google Groups "django-oscar" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
django-oscar...@googlegroups.com <javascript:>.
> <
http://groups.google.com/group/django-oscar>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/django-oscar/40da397c-1b23-4a7d-9d0a-b5edccbf9100%40googlegroups.com
> <
https://groups.google.com/d/msgid/django-oscar/40da397c-1b23-4a7d-9d0a-b5edccbf9100%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <
https://groups.google.com/d/optout>.
> <mailto:
django-oscar...@googlegroups.com>.
>
https://groups.google.com/d/msgid/django-oscar/c667c4e9-d7f0-409e-9665-ca23d405cc54%40googlegroups.com
> <
https://groups.google.com/d/msgid/django-oscar/c667c4e9-d7f0-409e-9665-ca23d405cc54%40googlegroups.com?utm_medium=email&utm_source=footer>.