Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Django OpenID
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
maxlength versus max_length
0 views
Skip to first unread message
Alexander
unread,
Aug 19, 2010, 10:57:17 AM
8/19/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django OpenID
Hey.
To make Django OpenID work I had to change models.py to look like
this:
from django.db import models
class Nonce(models.Model):
nonce = models.CharField(max_length=8)
expires = models.IntegerField()
def __str__(self):
return "Nonce: %s" % self.nonce
class Association(models.Model):
server_url = models.TextField(max_length=2047)
handle = models.CharField(max_length=255)
secret = models.TextField(max_length=255) # Stored base64 encoded
issued = models.IntegerField()
lifetime = models.IntegerField()
assoc_type = models.TextField(max_length=64)
def __str__(self):
return "Association: %s, %s" % (self.server_url, self.handle)
Is that something to add to the svn?
Reply all
Reply to author
Forward
0 new messages