commit
fb6f9ec9e5
|
@ -49,7 +49,7 @@ def create_user_objects(sender, created, instance, **kwargs):
|
|||
if created:
|
||||
Wishlist.objects.create(user=instance)
|
||||
profile = UserProfile.objects.create(user=instance)
|
||||
if hasattr(instance, 'social_auth'):
|
||||
if instance.social_auth.exists():
|
||||
instance.profile.ml_subscribe()
|
||||
except DatabaseError:
|
||||
# this can happen when creating superuser during syncdb since the
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% if not user.is_authenticated %}
|
||||
|
||||
<p>
|
||||
An account activation email has been sent. Please check your email and click on the link to activate your account. We're also sending you an invitation to our email newsletter. It comes out about twice a month. Put "unglueit@ebookfoundation.org" in your contact list to make sure you get it.
|
||||
An account activation email has been sent. Please check your email and click on the link to activate your account. We'll also send you an invitation to our email newsletter. It is infrequent. Put "unglueit@ebookfoundation.org" in your contact list to make sure you get it.
|
||||
</p>
|
||||
{% if request.COOKIES.next %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue