Sunday, July 21, 2013

Re: django-registration ImportError



On Sunday, July 21, 2013 5:20:36 PM UTC+2, donarb wrote:


On Saturday, July 20, 2013 9:23:37 PM UTC-7, Mike wrote:
I just updated django-registration to 1.0 (from 0.8) and now I get an ImportError:

ImportError: cannot import name activate

/Users/mike/sieve-django/SIEVEENV/lib/python2.7/site-packages/registration_email/backends/default/urls.py in <module>
  1. from registration.views import activate, register

Has anyone else had this problem? For now I'll revert to 0.8.


The package has been rewritten to use class based views. The activate method (as well as the register method) no longer exists by itself, it's a method in the ActivationView class.

Check the documentation for information on how to upgrade:

 
Hi - Thanks.  yes, I didn't read the docs.  Also, it seems that django-registration-email 0.5.4 is not compatible with django-registration 1.0   

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate