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,
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
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
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
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
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
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
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
8 matches
Mail list logo