I think what you need is a new auth backend which return a user object
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2012年8月8日星期三,下午6:17,mapapage 写道:I
> for the login I do (username must be the id field
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2012年8月9日星期四,下午2:33,mapapage 写道:
> > I wrote this custom authentication backend:
>
> from django.contrib.auth.models import User, check_pas
http://www.djangobook.com/en/2.0/chapter14/
take a quick look at this article, i think it will help you out
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2012年8月9日星期四,下午3:39,mapapage 写道:
>
>
you are using TimedRotatingFileHandle, so it will rotate your log into a new
file with the name as xxx.20120810, and start store new entries in 'filename'(
stat.txt, error.txt)
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Spa
http://peng-fei-xue.blogspot.com/2012/06/howto-create-django-application-in.html
check this post
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2012年8月12日星期日,下午7:54,surya 写道:
> I am really fed up w
there's no function in views.py, you should define that 'index' handler
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2012年8月15日星期三,上午11:16,Sky 写道:
> I've having a similar problem he
git://github.com/martinrusev/django-redis-sessions.git
take a look at this implementation for redis I think that's what you want
--
Sincerely,
Pengfei Xue
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
已使用 Sparrow (http://www.sparrowmailapp.com/?sig)
在 2012年8月17日星期五,上午12:1
yesterday, i upgraded my local mysql server to 5.7.9 (mysql Ver 14.14
Distrib 5.7.9, for osx10.11 (x86_64) using EditLine wrapper), and
found i can not make my app run anymore, find this error, is there some one
else get this error before?
MySQL-python==1.2.5
Django==1.8.6
File
"/Users/pen
thanks, i reinstall mysql-python, it's working now, very frustrating.
On Tuesday, November 17, 2015 at 9:27:03 PM UTC+8, Tom Evans wrote:
>
> On Tue, Nov 17, 2015 at 11:44 AM, Pengfei Xue > wrote:
> > yesterday, i upgraded my local mysql server to 5.7.9 (mysql Ver 14.1
thanks, i reinstall mysql-python, it's working now, very frustrating.
On Tuesday, November 17, 2015 at 9:27:03 PM UTC+8, Tom Evans wrote:
>
> On Tue, Nov 17, 2015 at 11:44 AM, Pengfei Xue > wrote:
> > yesterday, i upgraded my local mysql server to 5.7.9 (mysql Ver 14.1
10 matches
Mail list logo