Some configuration variables (like USE_I18N) must be defined. Defaults
are set in django.conf.global_settings, which is the default first
argument to settings.configure().
Following **keyword arguments are added to the resulting settings
object.
> settings.configure(mysettings)
Could instead
I don't know about the infinite recursion, but the documentation says
login() receives two arguments: request and a User object.
http://www.djangoproject.com/documentation/authentication/#how-to-log-a-user-in
I've got a working views.py that looks like this:
from django.contrib.auth import
I don't know how to replicate it right now (I tried logging out and
deleting cookies, no dice) but it did happen to me once or twice while
I was developing something. If you only find this problem when you
aren't logged in then treating 'not user' as equivalent to
'user.is_anonymous' should be
Setting permissions on a per-entry basis isn't supported yet but people
(mostly Chris Long) are working on it:
http://code.djangoproject.com/ticket/2270
http://code.djangoproject.com/wiki/RowLevelPermissions
-- Joshua
--~--~-~--~~~---~--~~
You received this
4 matches
Mail list logo