Giter VIP home page Giter VIP logo

django-email-confirmation's Introduction

django-email-confirmation's People

Contributors

brosner avatar empty avatar jezdez avatar jtauber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-email-confirmation's Issues

Please kill the repo on Google Code or make it obviously redirect

This is about the 50th django project that has moved to Github, but has left their Google Code project alive. It's quite irritating when trying to see what projects are out there.

I see there's a note on the Google Code page about the move, but it's at the bottom of the intro page. Instead of having the intro page at all, we should kill the project on Google Code or remove all text except for the redirect link.

Is this something we can do?

Django breaks with PostgreSQL (psycopg2) and duplicate email/user

This bug happens in model.py at:

  def add_email(self, user, email):
     try:
        email_address = self.create(user=user, email=email)

If this throws an IntegrityError (e.g. user and email already exist), Django fails when handling session and Cookies at the end with the HTTP return. This seems to be related to psycopg2, which cannot simply continue accessing the database when an IntegrityError was raised.

I can haz signalz?

Your signals.py file seems to b missing. I am getting import errors, and but the one from pypi contains the file

Devproject not working when it is runs on django 1.1

Hi

Thanks for you code it helped me greatly in my project

I found few issues to make the sample "devproject" to run on django 1.1 , I have made the changes and can provide you the same, so that one need not modify it again

Please let me know the procedure to submit the code

Regards
Subramanyam

add proper db indexes

django-email-confirmation misses some obvious database indexes

We found this issue when using email-confirmation on really large databases.

2 issues found:
EmailConfirmation.confirmation_key <- you always do a lookup with confirmation_key as key
EmailAddress.email <- when looking for dups etc, you query on this key

patch below:

Index: 3rdparty/django-email-confirmation/emailconfirmation/models.py
===================================================================
--- 3rdparty/django-email-confirmation/emailconfirmation/models.py      (revision 417)
+++ 3rdparty/django-email-confirmation/emailconfirmation/models.py      (working copy)
@@ -44,7 +44,7 @@
 class EmailAddress(models.Model):

     user = models.ForeignKey(User)
-    email = models.EmailField()
+    email = models.EmailField(db_index=True)
     verified = models.BooleanField(default=False)
     primary = models.BooleanField(default=False)

@@ -135,7 +135,7 @@

     email_address = models.ForeignKey(EmailAddress)
     sent = models.DateTimeField()
-    confirmation_key = models.CharField(max_length=40)
+    confirmation_key = models.CharField(max_length=40,db_index=True)

     objects = EmailConfirmationManager()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.