On Fri, Aug 7, 2009 at 6:57 AM, Shuge Lee <shuge....@gmail.com> wrote:
> > For user could login with email or username, > I did as what this page > http://www.djangosnippets.org/snippets/74/ > said > > [snip] > > Then I found somthing wrong, > > first, admin view doesn't work well, > http://127.0.0.1:8000/admin/logout/ > become > http://127.0.0.1:8000/admin/admin/logout/ > user couldnt't logout as usual > I'm not quite following what your second problem is that you mention below, but this one was the last big blocker to getting 1.1 out. As you say you are using 1.1 Beta the first thing you should do up update to 1.1 itself to fix this problem. Upgrading to the release level code may help with the 2nd one as well, though I am not sure as I don't understand what your 2nd problem is exactly. Karen > > second, many url rules which in myproject.urls doesn't work > > ^admin/doc/ > ^admin/ ^$ > ^admin/ ^logout/$ > ^admin/ ^password_change/$ > ^admin/ ^password_change/done/$ > ^admin/ ^jsi18n/$ > ^admin/ ^r/(?P<content_type_id>\d+)/(?P<object_id>.+)/$ > ^admin/ ^(?P<app_label>\w+)/$ > ^admin/ ^auth/user/ > ^admin/ ^auth/group/ > ^admin/ ^seed/seed/ > ^admin/ ^seed/format/ > ^admin/ ^seed/language/ > ^admin/ ^comments/comment/ > ^admin/ ^seed/right/ > ^admin/ ^sites/site/ > ^admin/ ^seed/category/ > > Why prefix '^admin'/ will be added in the front of those url rules > automatically after I > add `login with email custom backend` ? > > How to fix it / > > l...@lab ~/online $ django-admin.py --version > 1.1 beta 1 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---