django-authentication
django - any prebuilt authentication signal receivers?
I\'m writing a custom logout view since the Django built in logout function wipes out all the sessions when it calls the request.session.flush(). I have some sessions variables that I would like t开发[详细]
2023-02-10 16:54 分类:问答NoReverseMatch Error
I keep getting this error for the django login system. Here is part of my urls.py: (r\'^contractManagement/login\', \'django.contrib.auth.views.login\', {\'template_name\': \'login.html\'}),[详细]
2023-02-09 23:28 分类:问答Implement Django Simple Captcha with the existing django.contrib.auth.forms
I would like to add captcha on my django registration form usingDjango Simple Captcha found here: http://code.google.com/p/django-simple-captcha/[详细]
2023-02-07 14:53 分类:问答How to disable Django's CSRF protection behind a proxy
I need to run a Django system (let\'s call it Alfred) behind a Proxy. Both are on the same network. As Proxy I use yuri vandermeer\'s django-httpproxy. (see his page yvandermeer.net)[详细]
2023-02-07 02:26 分类:问答Can I change Django's auth_user.username field to be 100 chars long without breaking anything?
Before somebody marks this question as a duplicate of this question Can django\'s auth_user.username be varchar(75)? How could that be done? or other such questions on SO, please read this question. T[详细]
2023-02-07 01:23 分类:问答In Django, how do I check if a user is in a certain group?
I create开发者_开发知识库d a custom group in Django\'s admin site. In my code, I want to check if a user is in this group. How do I do that?Your User object is linked to the Group object through a Ma[详细]
2023-02-06 18:53 分类:问答How to manually authenticate after get django user?
Im writing a facebook-connect app that login user after authenticate session on facebook, question is how can i authenticate user on django after get user object?[详细]
2023-02-06 02:28 分类:问答How to aggregate barchart data for volumes of registrations per day from Django auth?
Django auth User model has a date_joined DateTimeField. Could this be used to aggregate a list with volumes of registrations per day for days (or other time periods) in a daterange? E.g.: [(21.01, 5),[详细]
2023-02-05 14:40 分类:问答Adding permissions to django users which have add-on models
I w开发者_JAVA技巧ill be creating an intranet site with multiple roles (client-employee, client-admin, staff team member). Each role will have a model that attaches (via One-to-One or ForeignKey field[详细]
2023-02-05 09:33 分类:问答"Foreign Keys" across very separate databases in Django
I\'ve writing a Django site that uses two different databases. One is the local, let\'s call it, \"Django\", database that stores all of the standard tables from a pretty standard install -- auth, sit[详细]
2023-02-03 08:05 分类:问答