response = c.post('/account/register/', {u'username':
[u'john'], u'email': [u'j...@beatles.com'], u'bnewaccount':
[u'Signup']})
self.assertEqual(response.status_code, 200)
user = User.objects.get( username =
I'm trying to test that a UserProfile model is created as a new User
is registered in django_authopenid.
I don't understand how to add the Openid session data to the POST.
class UserTestCase(TestCase):
def test_register_should_create_UserProfile(self):
from django.test.client imp
I'm completely confused about why _meta.local_fields returns more
fields than the database table contains. The User model inherits from
contrib.auth.models.User.
$ mysql -u user -p database
Enter password:
Reading table information for completion of table and column
names
You can
Luke,
I was curious how this was going.
I did find this:
http://jjinux.blogspot.com/2009/06/python-amazon-product-advertising-api.html
import time
import urllib
from boto.connection import AWSQueryConnection
AWS_ACCESS_KEY_ID = '...'
AWS_ASSOCIATE_TAG = '...'
AWS_SECRET_ACCESS_KEY = '...'
se
4 matches
Mail list logo