hello kanniga,
I use correct user and password.
I can get data from database.
I read about it in an one post that described what may be due not
correct settings of connect to database, but there were no details.
On Jun 5, 2:54 pm, kanniga sivasubramanian
wrote:
> hello yakovenko sir,
> I
hello yakovenko sir,
I think your databse_user and database_password are incorrect.
I had affected by this problem. You will give correct username and
password of mysql.
On Sat, Jun 5, 2010 at 1:02 AM, tmitchell wrote:
> Holy reading comprehension, Batman. Just saw you have DEBUG off,
>
Holy reading comprehension, Batman. Just saw you have DEBUG off,
ignore previous comment.
On Jun 4, 10:34 am, Кирилл Яковенко
wrote:
> I have tried this method, but it didn't give any results.
> I suspect that this is due to incorrect settings of the database or connect
> to it.
>
> 2010/6/4 Dj
Are you running with DEBUG on? I've noticed the same memory growth in
standalone scripts when in DEBUG mode.
It may be related to this:
http://docs.djangoproject.com/en/dev/ref/templates/api/#django-core-context-processors-debug
On Jun 4, 10:34 am, Кирилл Яковенко
wrote:
> I have tried this met
I have tried this method, but it didn't give any results.
I suspect that this is due to incorrect settings of the database or connect
to it.
2010/6/4 Dj Gilcrease
> On Fri, Jun 4, 2010 at 6:44 AM, yakovenko wrote:
> > import os
> > import sys
> > os.environ['DJANGO_SETTINGS_MODULE'] = 'md.setti
On Fri, Jun 4, 2010 at 6:44 AM, yakovenko wrote:
> import os
> import sys
> os.environ['DJANGO_SETTINGS_MODULE'] = 'md.settings'
> sys.path.append('/md/lib')
> from django.db import close_connection, reset_queries
> from md.mddata.models import Info
> def test():
> for i in Info.objects.all():
>
Hello guys,
I use django ORM in standalone daemon. And It sucks more and more
memory.
I have created small script for testing:
---
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'md.settings'
sys.path.append('/md/lib')
from django.db
7 matches
Mail list logo