Re: Creating A Model For Existing DB Table

2010-11-18 Thread veeravendhan
Why do you want to create a models, better go with "inspectdb" will give you the models. check out this: http://docs.djangoproject.com/en/dev/howto/legacy-databases/?from=olddocs -Veera On Nov 10, 10:23 pm, octopusgrabbus wrote: > I have an existing MySQL table. It's fairly straightforward: >

Re: How to handle the Browser Close ?

2009-05-08 Thread veeravendhan
might log users out > that are still somewhat active on your site, but are gone for lunch > or are googling or just reading the same page for a long time > > ~Jakob > > On 1 Apr., 08:26, veeravendhan wrote: > > > > > Say a user is logged in to the system,  If he cl

Django Apache configuration Help !

2009-05-07 Thread veeravendhan
ath /path/ SetHandler python-program PythonHandler django.core.handlers.modpython PythonDebug On SetEnv DJANGO_SETTINGS_MODULE site.settings PythonPath "['/home/somePath', '/usr/lib/python2.5/site- packages/django'] + sys.path" for th

How to handle the Browser Close ?

2009-03-31 Thread veeravendhan
Say a user is logged in to the system, If he closes the browser how will I handle the Logout for that user ? Any idea ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: Overriding ID Field

2009-02-20 Thread Veeravendhan sakkarai
You just define your primary key field in the models, you can over come. Also we can auto generate UUID. like the autoincrimint id field. On Fri, Feb 20, 2009 at 3:41 PM, burcu hamamcıoğlu wrote: > I want to define a custom id field, that holds a guid (uuid). But how can i > override the defau

Apache Conf Problem

2009-02-09 Thread veeravendhan
Hi, I am creating dynamically a web sit, from my django project. To achieve that i have to append the site url details in the apache conf. I have tried by having as a septate python script to set the setting, for that file I have given changed the owner as root and tried by event i am getting

Dynamic Apache Conf Problem

2009-02-09 Thread veeravendhan
Hi, I am creating dynamically a web sit, from my django project. To achieve that i have to append the site url details in the apache conf. I have tried by having as a septate python script to set the setting, for that file I have given changed the owner as root and tried by event i am getting