> 'django.contrib.auth.context_processors.auth' is not an auth backend,
> it is a context processor, and should be in
> TEMPLATE_CONTEXT_PROCESSORS.
>
> https://docs.djangoproject.com/en/dev/topics/auth/#specifying-authent...
Thank you very much, seems like mistakenly duplicated that part.
> Can you show what the value of settings.AUTHENTICATION_BACKENDS is?
>
> Cheers
>
> Tom
Hi,
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.context_processors.auth',
'django_facebook.auth_backends.FacebookBackend',
)
Thanks,
--
You received this message because you are
I'm trying to use tschellenbach-Django-facebook for allowing Facebook
logins. But whenever I try to login, I get the following error:
Exception Type: TypeError at /facebook/connect/
Exception Value: auth() takes exactly 1 argument (0 given)
Long trace: http://pastebin.com/hy8BXrkJ
I
2009/6/30 Divesh Gidwani
>
> Now that I created the templates folder, should I take the base.html
> and index.html files and paste them in this folder?
Yes. You can put them there.
>
> That being done, how can I edit these files? Is there a particular
> program to use?
On Tue, Jun 30, 2009 at 7:36 PM, Divesh Gidwani wrote:
>
> So I have had a pretty smooth transition so far, but am now stuck when
> at the end of tutorial 2, it asks to specify my directory of tempaltes
> in the settings.py file under the template_dirs tuple.
>
> Where are
> (r'^(?P[-0-9A-Za-z]+)/(?P[-_.0-9A-Za-zıİğĞüÜşŞöÖçÇ ]
> +)/$', 'search_in_all_packages')
> then
> (u'^(?P[-0-9A-Za-z]+)/(?P[-_.0-9A-Za-zıİğĞüÜşŞöÖçÇ ]
> +)/$', 'search_in_all_packages').encode("utf-8")
>
> but none of them worked.
[Typo: misplaced .encode("utf-8") in mail.]
I managed
> > You need to replace the `\w` with something that will match the characters
> > you
> > want. If you want everything that `\w` matches plus spaces, you should use
> > `[\w ]+` (note the space) instead of `\w+`.
What about other unicode characters? Such as special characters in
other
7 matches
Mail list logo