Re: Login Issues

2012-03-03 Thread hack
That seemed to fix part of the issue, but now I get this message: Page not found (404) Request Method: GET Request URL:http://localhost:8000/accounts/profile/ Using the URLconf defined in coolstuff.urls, Django tried these URL patterns, in this order: ^coolapp/ The current URL,

Re: Login Issues

2012-02-28 Thread rafiee.nima
sorry site_media=os.path.join(os.path.dirname(__file__),'site_media') is not needed it was a line of code from my own project :D On Feb 28, 7:54 pm, "rafiee.nima" wrote: > hi > check if you import login view in url.py to be like this : > from django.contrib.auth.views

Re: Login Issues

2012-02-28 Thread rafiee.nima
hi check if you import login view in url.py to be like this : from django.contrib.auth.views import login and also check your pattern in url.py to be like this : site_media=os.path.join(os.path.dirname(__file__),'site_media') urlpatterns = patterns(' ', (r'^login/$',login), ) and dont change

Login Issues

2012-02-27 Thread hack
I'm attempting to follow the instructions on the Django website and use the registration/login.html. I created the file in myapp/ registration/login.html. I've added the following to my urls.py file: url(r'^login/$', 'django.contrib.auth.views.login'), When I attempt to access /myapp/login I

Re: Login issues

2007-09-11 Thread MikeHowarth
Russ Thanks for the reply Russ, I totally missed this. I did wonder whether this was because I was using the email-auth backend. I'll implement your suggestion and see what happens. On Sep 11, 1:50 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 9/10/07, MikeHowarth <[EMAIL

Re: Login issues

2007-09-10 Thread Russell Keith-Magee
On 9/10/07, MikeHowarth <[EMAIL PROTECTED]> wrote: > > Hi guys > > Was wondering if anyone knew of any bugs within the user > authentication system associated to setting the backend attribute? Not that I'm aware of - and certainly not with the default authentication backend. > Basically looking

Re: Login issues

2007-09-10 Thread MikeHowarth
Anyone? On Sep 9, 5:47 pm, MikeHowarth <[EMAIL PROTECTED]> wrote: > Hi guys > > Was wondering if anyone knew of any bugs within the user > authentication system associated to setting the backend attribute? > > Basically looking at the traceback the user object expects a attribute > 'backend' to

Login issues

2007-09-09 Thread MikeHowarth
Hi guys Was wondering if anyone knew of any bugs within the user authentication system associated to setting the backend attribute? Basically looking at the traceback the user object expects a attribute 'backend' to be set within however this doesn not seem to be set. Traceback: Traceback