Reg. Improving Django response time (i.e throughput)

2010-01-28 Thread Saravanan
I have Django installed in SUSE Linux with postgres. It is working great. Kudos I have an issue. I have total database structure containing more than 100million rows. I have partitions and indexes. It is taking plenty of time to load Django initially. I meant in minutes. I can take a coffee bre

Re: Reg. creating dynamic db table

2009-12-30 Thread Saravanan
he > row is inserted. Then you can give a query to get for a day, days, month, or > a year. > > On Wed, Dec 30, 2009 at 2:08 AM, Saravanan wrote: > > > Here I have an issue, I don't know how to proceed. > > Here what I have in models.py > > I have a base cla

Reg. creating dynamic db table

2009-12-29 Thread Saravanan
Here I have an issue, I don't know how to proceed. Here what I have in models.py I have a base class: for example say class base_class(models.Model) In this base class I have definition for a db table, class Meta: abstract = True I have an manager class : class manager_class(models.Manager) In this

Reg. creating dynamic db table

2009-12-29 Thread Saravanan
Here I have an issue, Idon't know how to proceed. Here what I have in models.py I have a base class: for example say class base_class(models.Model) In this base class I have definition for a db table, class Meta: abstract = True I have an manager class : class manager_class(models.Manager) In this

Caught an exception while rendering: Reverse for 'portal.compliance_index' with arguments '()' and keyword arguments '{}' not found.

2009-12-02 Thread Saravanan
Environment: Request Method: GET Request URL: http://shellwing251.atdesk.com/ Django Version: 1.0.2 final Python Version: 2.4.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'portal.utils', 'portal.corp_act']

Re: Admin form

2008-11-25 Thread suganthi saravanan
Hi Praveen, Check it! Have you added the following line in settings.py under the INSTALLED_APPS 'django.contrib.admin' and synchronize the table . you can view the admin login from http://127.0.0.1:8000/admin/ --~--~-~--~~~---~--~~ You received this message be

Re: Disabling Admin validation

2008-11-25 Thread suganthi saravanan
Hi David, Try it! If you are using (blank=true) inside the model class, validation disable. class Gallery(models.Model): name=models.CharField(max_length=200, blank=true) Cheers sugi --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Basic concept for templatetag using node and parser

2008-11-14 Thread suganthi saravanan
Here i have customized the class in the templatetags folder and i have render too. Using the function also i have called the parser function and return the node object... I have created the template also How to call in the urls.py Suggest me. --~--~-~--~~~---~--~--

Re: Basic concept for templatetag using node and parser

2008-11-13 Thread suganthi saravanan
Thanks bruno...but i have already read the documentation for the Custom template tag. http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#writing-custom-template-tags I need simple example for more clarification can you help me. --~--~-~--~~~---~--~