Anonymous avatar Anonymous committed a404cfc


Comments (0)

Files changed (3)

-Version 0.3, 22 September 2007:
+Version 0.3p2, 23 September 2007:
+* Packaged from revision 100 in Subversion.
+* Fixed ``activate`` view to actually take the ``template_name``
+  argument.
+Version 0.3p1, 22 September 2007:
+* Packaged from revision 99 in Subversion.
+* Fixed a typo in docs/overview.txt.
+* Fixed a typo in bin/
+* Added French translation.
+Version 0.3, 19 September 2007:
-Packaged from revision 99 in Subversion; download at
+Packaged from revision 89 in Subversion; download at
 * Changed ``register`` and ``activate`` views to accept


 from registration.models import RegistrationProfile
-def activate(request, activation_key):
+def activate(request, activation_key, template_name='registration/activate.html'):
     Activates a ``User``'s account, if their key is valid and hasn't
     activation_key = activation_key.lower() # Normalize before trying anything with it.
     account = RegistrationProfile.objects.activate_user(activation_key)
-    return render_to_response('registration/activate.html',
+    return render_to_response(template_name,
                               { 'account': account,
                                 'expiration_days': settings.ACCOUNT_ACTIVATION_DAYS },
 from distutils.core import setup
-      version='0.3',
+      version='0.3p2',
       description='User-registration application for Django',
       author='James Bennett',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.