Re: apache

2009-08-05 Thread alexarsh
If you want to see your app from another computer in local network, you can run: python manage.py runserver 0.0.0.0:8000 Regards, Alex A. On Aug 5, 11:13 am, Salvatore Leone wrote: > Graham Dumpleton ha scritto:> You must recompile mod_python to use a > different Python version. > > Changing t

Re: apache

2009-08-04 Thread alexarsh
I think your default python is 2.6. What you can try is: "ls -a /usr/bin/python" You will see that it's a link to python2.6. You can change the link to point to python2.5. (ln -sf /usr/bin/python) Then you will have to install mod_python with python2.5. If you install mod_python from source (by r

Re: apache

2009-08-04 Thread alexarsh
Hi, I had the same problem and what helped me was: Changing the permissions of my project directory to 777 (The directory where settings.py located) Try to run: chmod -R 777 /home/testpec/public_html/pecwizard Regards, Alex A. On Aug 4, 3:28 pm, Salvatore Leone wrote: > Graham Dumpleton ha scr

Re: encoding question

2009-06-25 Thread alexarsh
Hi, Thanks for the reply. I tried both but still got the same result. Maybe you have other ideas? Thanks, Alex A. On Jun 24, 7:51 pm, Gustavo Henrique wrote: > try: > > from unicodedata import normalize > mytext = '%u05D9%u05D2' > newtext = normalize('NFKD', mytext).encode('ASCII','ignore') >

Re: python version

2009-04-05 Thread alexarsh
Thanks for the fast reply. And how can I find all python versions installed on a machine? On Apr 5, 7:21 pm, Alex Gaynor wrote: > On Sun, Apr 5, 2009 at 12:16 PM, knight wrote: > > > Hi, > > > I have 2 servers with my django app: > > The first one has python2.5 as default python and the second

Re: Languages problem

2009-03-25 Thread alexarsh
On Tue, 2009-03-24 at 07:33 -0700, alexarsh wrote: > > Hi, > > > No, I don't have any errors. I just get my title empty. > > So is the data not being stored in the database? Use psql and have a > look at the table directly to see what's there. > > Django quit

Re: Languages problem

2009-03-24 Thread alexarsh
Hi, No, I don't have any errors. I just get my title empty. Regards, Alex A. On Mar 24, 3:56 pm, Muslu Yüksektepe wrote: > if u have a error pls write all error code. > > 2009/3/24 knight > > > > > > > Hi, > > > I have the following class in my models.py: > > > class MainCategory(models.Model

Re: admin templates problem

2009-03-01 Thread alexarsh
On Sun, 2009-03-01 at 22:05 -0800, alexarsh wrote: > > I can't see the blue admin template. I can't see it only on the page I > > overrided - (contrib/admin/templates/admin/index.html) > > Solving that will require seeing what your overridden template looks > li

Re: admin templates problem

2009-03-01 Thread alexarsh
I can't see the blue admin template. I can't see it only on the page I overrided - (contrib/admin/templates/admin/index.html) Regards, Alex A. On Mar 2, 7:39 am, Malcolm Tredinnick wrote: > On Sun, 2009-03-01 at 21:06 -0800, knight wrote: > > Hi, > > > I have a django application where I overri