idlesign/django-sitetree — Issue #44: URL "registration_activate activation.key" fails
Author: dnogues
Created: 2012-01-15 17:23:08+00:00
State: open

[ACTION]

Add site tree item with URL "registration_activate activation.key"

This maps to this urls.py entry from django-registration:

url(r'^activate/(?P\w+)/$',
activate,
name='registration_activate'),

[RESULT]

On request, the site tree item remains unresolved and sitetree_page_title call fails with error 500 due to current_item being None

[CAUSE]

Unknown

However "registration_activate " works for a particular activation key

For example:

URL: registration_activate e2d4b4b45901beef00fdf2a5c023da5b5fcc67ae

with "URL as a pattern" checked, works for:

http://127.0.0.1:8000/registration/activate/e2d4b4b45901beef00fdf2a5c023da5b5fcc67ae/

This can be done dynamically creating entries in sitetree but it's not practical

[RESOLUTION]

Unknown