Hi,
On Sep 9, 2:47 pm, Andy Smith <
andys...@gmail.com> wrote:
> the "testserver" command uses a temporary database, you'll probably want to
> use "runserver" instead.
Now we run:
{{{
python2.5 manage.py runserver common/fixtures/*.json
}}}
and we get:
{{{
INFO:root:Beginning bootstrap...
INFO:root:Finishing bootstrap.
INFO:root:Monkey patching dev_appserver...
INFO:root:zipimporter('simplejson.zip', 'simplejson/')
WARNING:root:Could not read datastore data from /tmp/
django_jaikuengine.datastore
WARNING:root:Could not read datastore data from /tmp/
django_jaikuengine.datastore.history
INFO:root:zipimporter('/home/offray/Programas/JaikuEngine/Jaikuengine/
django.zip', 'django/core/serializers/')
INFO:root:Trying to load components in ['.svn', 'dummy_xmpp_service',
'tests.py', 'dummy_analytics', 'models.py', 'xmpp_service',
'dummy_sms_service', '__init__.pyc', 'dummy_legal', 'models.pyc',
'__init__.py']...
INFO:root:zipimporter('cleanliness.zip', 'cleanliness/')
Error: 'common/fixtures/activations.json' is not a valid port number.
}}}
These are the contents of activations.json (there is not any reference
to a port number):
{{{
[{"pk": "activation/
her...@example.com/email/her...@example.com",
"model": "common.Activation",
"fields": {"actor": "
her...@example.com",
"content": "
her...@example.com",
"type": "email",
"code": "TESTCODE"
}
}
]
}}}
How this "activation" is working is related in someway with OAuth?
Thanks :)