hi help regarding sharding

2010-03-10 Thread chiranjeevi muttoju
Hi, i want to use *Sharding* concept in for my project. i requirement is, i have one user model, and i want to save users by selecting the random databases. ie. i have two tables db1 and db2, in both databases i have user table. based on the userid i want to select the database in which that user

Re: is it uses the memcache..?

2010-03-10 Thread chiranjeevi muttoju
ok janusz thanks for ur reply. On Wed, Mar 10, 2010 at 3:56 PM, Janusz Harkot wrote: > Django documentation is very clear in this matter. > > All standard cache functions/decorators are using cache backend > specified in the settings, > defaults to local memory, with an

is it uses the memcache..?

2010-03-10 Thread chiranjeevi muttoju
hi, i want to use memcache in my project. I have one doubt is *per-view cache*uses the memcache or it uses any internal django modules for caching the views.. if any one know abt this concept, could u please give me a clear idea about this. -- Thanks & Regards, Chiranjeevi.Muttoju -- You

Re: is there any possibility for two settings.py

2010-03-08 Thread chiranjeevi muttoju
13:08:23 chiranjeevi muttoju wrote: > > we have two applications, what we want to do is, one app should run at > one > > address and other app should run at different address. this is my > > requirement. is it possible to put those two apps in the same > > project...?(dif

Re: is there any possibility for two settings.py

2010-03-08 Thread chiranjeevi muttoju
with the different settings.) On Mon, Mar 8, 2010 at 3:39 PM, Atamert Ölçgen <mu...@muhuk.com> wrote: > On Monday 08 March 2010 09:06:05 chiranjeevi muttoju wrote: > > Hi friends, > > i have two apps in my project, and i want to use two different settings > for > > each ap

Re: is there any possibility for two settings.py

2010-03-08 Thread chiranjeevi muttoju
Hi swan thanks for ur reply. If we do like that shall we run those applications separately..?! i mean as different servers..?(like different projects) On Mon, Mar 8, 2010 at 12:45 PM, Shawn Milochik wrote: > Just specify an argument for --settings when you launch the server

is there any possibility for two settings.py

2010-03-07 Thread chiranjeevi muttoju
Hi friends, i have two apps in my project, and i want to use two different settings for each app. it means same project but i sud run those two apps separately. is it possible..? if anyone of u guys know please reply me. And if u want any further information regarding this post please ask me. --

Re: need help in multy db.

2010-02-24 Thread chiranjeevi muttoju
Thank you Shawn. On Wed, Feb 24, 2010 at 11:58 PM, Shawn Milochik wrote: > Multi-DB support doesn't exist in 1.1 -- only 1.2 (still in beta). > > The "managed" attribute in the Meta tells Django whether it should handle > the model with its ORM. The default is True. If it's

need help in multy db.

2010-02-24 Thread chiranjeevi muttoju
Hi all, I'm using the multidb concept in django1.1. i studied some documentation and i tried and its working fine. but i have some doubts in that. class MyModel1(models.Model): class Meta: managed = False db_table = 'table1' objects = ExtDBManager(altconnection1) ... class

Re: Need help in serialization of objects.

2010-02-24 Thread chiranjeevi muttoju
lizer.py > > …and then declare it in the SERIALIZATION_MODULES setting. > > On Feb 24, 7:00 am, chiranjeevi muttoju > <chiranjeevi.mutt...@gmail.com> wrote: > > Hi all, > > I want to convert the model object to xml data. i used the django > > serialization for that. then i'm getting

Need help in serialization of objects.

2010-02-23 Thread chiranjeevi muttoju
Hi all, I want to convert the model object to xml data. i used the django serialization for that. then i'm getting the xml data as shown in bellow. But my aim to remove the "" tag or replacing that tag by other name. is there is any way to achieve that one. If anybody know please help me.

template rendering problem plz look at this.

2010-02-17 Thread chiranjeevi muttoju
Hi, Actually my aim is to load the iframe when i click my link(play) in facebook. i get the functionality working fine but the problem is after loading the iframe with desired content, it becomes blur.. I dont know what the problem is. please see the bellow screen short . After clocking the play

relation "django_session" does not exist

2010-02-12 Thread chiranjeevi muttoju
Hi, When i'm using the session in django i'm getting this error relation "django_session" does not exist. what is that error.. if any one of u know please help me.. My code is: >>> from django.contrib.sessions.backends.db import SessionStore >>> s =

Re: Is any thing for python like .jar files for java.

2010-02-09 Thread chiranjeevi muttoju
t; container? There are a number of options, but none that would work for > Django off the top of my head. > > Of course, you could always use Jython and actually /have/ a .jar, but > still. > > On Feb 10, 7:05 am, chiranjeevi muttoju <chiru.bt...@gmail.com> wrote: > >

Is any thing for python like .jar files for java.

2010-02-09 Thread chiranjeevi muttoju
Hi all, Is there any concept in python like .jar files in java. If anybody of you know please reply me. -- Thanks and regards, chiranjeevi.muttoju -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: want to convert object to json data.

2010-02-09 Thread chiranjeevi muttoju
hi waine, Thanks for ur reply. i got that. is there is any way to parse regular class objects(not model objects) to json data.. if u know please reply. On Tue, Feb 9, 2010 at 12:17 PM, Wayne Koorts wrote: > > I want to convert a given regular object to json object. i.e. I

Re: "django-admin.py startproject xyz" opens text editor

2010-02-09 Thread chiranjeevi muttoju
Hi, please change the *.py properties to python type.. i.e. right click on python filr-->properties-->change-->browse the python.exe(which is in python home directory). On Tue, Feb 9, 2010 at 12:07 PM, Karen Tracey wrote: > On Tue, Feb 9, 2010 at 1:32 AM, gvkalra

Re: how to work with css

2010-01-31 Thread chiranjeevi muttoju
Hi andreas, Thanks for ur reply, i'm getting this problem while developing. where sud i kept my css files, and how should i reference those css files from the template page. i mean how to give specify the address of that css file. for example my css file common.css is in the location

Re: FBML not working

2010-01-27 Thread chiranjeevi muttoju
Hi daniel, Thanks for ur reply. I am viewing that page through the facebook only. but i cont able to work with the FBML tags. Is there an initial setup to use the FBML tags. Please help me if u know. Thank you. On Thu, Jan 28, 2010 at 3:08 AM, Daniel Roseman wrote: > On

Re: multiple database on django please helpme..

2010-01-12 Thread chiranjeevi muttoju
hi Gonzalo, i did nt find any help there.. could u please bclearer.. i really ned it.. if u know plz help me... On Tue, Jan 12, 2010 at 7:35 PM, Gonzalo Delgado wrote: > El 12/01/10 11:02, Shawn Milochik escribió: > > This will help you get help: > > > >

Re: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
uot;, line 24, in mysql_config raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found what is the modifications to setup_posix.py file, plz help me.. thanku. On Tue, Dec 15, 2009 at 8:31 PM, Simon Brunning <si..

Re: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
\MySQL AB\MySQL Server 5.0 plz help me.. On Tue, Dec 15, 2009 at 8:08 PM, chiranjeevi muttoju <chiru.bt...@gmail.com>wrote: > $ tar xfz MySQL-python-1.2.1.tar.gz > $ cd MySQL-python-1.2.1 > $ # edit site.cfg if necessary > $ python setup.py build > $ sudo python set

Re: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
09 at 8:00 PM, Simon Brunning <si...@brunningonline.net>wrote: > 2009/12/15 chiranjeevi muttoju <chiru.bt...@gmail.com>: > > hey i installed django on one machine, and sql in another machine.. in > which > > mechine i need to install the sql connector. > >

Re: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
hey i installed django on one machine, and sql in another machine.. in which mechine i need to install the sql connector. On Tue, Dec 15, 2009 at 7:51 PM, Simon Brunning <si...@brunningonline.net>wrote: > 2009/12/15 chiranjeevi muttoju <chiru.bt...@gmail.com>: > > i've

Re: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
i've downloaded the mysql connector "MySQL-python-1.2.3c1.tar.gz' could u please tellme how to instal that in linux.. On Tue, Dec 15, 2009 at 7:36 PM, Simon Brunning <si...@brunningonline.net>wrote: > 2009/12/15 chiranjeevi muttoju <chiru.bt...@gmail.com>: > > i c

Re: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
i cont able to understand how to modify the settings for mysql.. when i run the cammand 'python manage.py shell' it gives the error no modulr fing for No module named MySQLdb the actual error is:: --- [r...@scci01 book]# python manage.py shell Traceback