In a web application already using django.contrib.auth for authentication, I\'m looking for the \"standard\" approach for restricting access to Ajax services to authenticated users only.
I\'m currently writing a site which uses django-guardian to assign object-level permissions which are used throughout the site.
I would like every model of my app to store the user that created its entries. What I did: class SomeModel(models.Model):
Is there a way in Python/Django to get the username of the currently logged-in Windows user, from an app that is not running locally?
I understand we can use \"extends variable\" in the template to switch between two different extended templates.
Have anyone used these 2 django apps together? I want to know how well these 2 gel together along with Django\'s User Authentication syste开发者_JS百科m.
I need to have a function tell me if a Django session-id is currently authenticated or not. I understand this is already built into Django and I have that working just fine.
We are considering implementing a voting system (up, down votes) without using any type of credentials--no app accounts nor OpenID or an开发者_运维知识库ything of that sort.
Hello all you helpful people out there (and goodbye none-helpful people :D ). I\'m trying to create a user in django (1.2.4) and then log them in after saving them. My problem is I\'m getting NotImple
Using the Django logout when the user is logging out all the sessions values get flushed. I there a way to kee开发者_开发问答p some of the session values even though the user logs out?You might want