Hi all,
after __init__ of RegexURLResolver, its
attributes _regex_dict, _reverse_dict, _app_dict, all have one entry inside
them, like dict: {'en-us': <_sre.SRE_Pattern object at 0x02D83720>},
but actually they are all assigned to { } in the __init__, I don't know why
not dict is empty but has one entry...
*execution background*
1. Eclipse/PyDev in debug mode
2. Django 1.5
3. run "manage.py runserver --noreload"
4. visit 127.0.0.1:8000/admin/
5. when "resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)" in
WSGIHandler.get_response was executed
6. the RegexURLResolver initiation question is observed by Eclipse debugger
Thanks,
Andrew
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.