Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 4 by carl.j.meyer: use named url pattern for confirm_email so it can be overridden http://code.google.com/p/django-email-confirmation/issues/detail?id=4
On line 92 of models.py, reverse() is called using the hardcoded view path "emailconfirmation.views.confirm_email". This makes it impossible to use a different view or wrap the confirm_email view if custom logic is needed in the confirmation. It would be preferable to use a named URL pattern, as this allows more flexibility. For backwards-compatibility, it could first try reversing using the hardcoded view path, and if NoReverseMatch is raised, it could try with a pattern name instead. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pinax-updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pinax-updates?hl=en -~----------~----~----~----~------~----~------~--~---
