Re: django and favicon.ico

2013-08-04 Thread Babatunde Akinyanmi
On Sun, Aug 4, 2013 at 11:56 PM, Mike Dewhirst wrote: > On 5/08/2013 4:22am, Tundebabzy wrote: > >> Hi, >> Is there any documentation on how django behaves during a GET >> /favicon.ico? In my django 1.4.5 installation with runserver, GET >> /favicon.ico redirects to

Re: [Errno 13] Permission denied: '.cache' - where is the directory I need to change permission

2013-08-04 Thread Frank He
I think maybe I just need to run this command: chown -R apache:apache direction/ Not sure if this will help, will test it tomorrow On Sunday, August 4, 2013 9:00:00 AM UTC-7, Goran wrote: > > From my opinion you as user don't have appropriated permissions. Ask from > your server administrator to

Re: django and favicon.ico

2013-08-04 Thread Mike Dewhirst
On 5/08/2013 4:22am, Tundebabzy wrote: Hi, Is there any documentation on how django behaves during a GET /favicon.ico? In my django 1.4.5 installation with runserver, GET /favicon.ico redirects to /media/img/favicon; on OpenShift, it redirects to /media/favicon.ico. It is a static image no

Problems for seeing Multypolygons with OSMGeoAdmin

2013-08-04 Thread Marcus 43
Hi everubody, recently I've been reading the documentation about Geodjango and following the tutorial. The problem or maybe daoubt came when I change the GeoModelAdmin that at first is used for seeing the world borders in that example, but when I changed it to GeoModelAdmin I cannot see the

Re: Save url containing special characters into mysql database using cursor object

2013-08-04 Thread gilberto dos santos alves
please see functions urllib.quote, urllib.quote_plus, urllib.urlencode on this manual python [1] [1] http://docs.python.org/2/library/urllib.html#utility-functions Em sábado, 3 de agosto de 2013 16h04min55s UTC-3, fanchyna escreveu: > > > > I am about to save the url below to my mysql

Re: Admin Center is not displaying

2013-08-04 Thread gilberto dos santos alves
see your mysite/settings.py for 'django.contrib.admin' (you must clear # comment) now in 1.6x django.contrib.admin comes active. until 1.5.x this option is with comment #. if doubt use ./manage.py shell import sys for oque in sys.path: print oque see all your entries for python and django

Re: Can't run manage.py runserver (Django 1.5.1)

2013-08-04 Thread Avraham Serour
try running with python 2.7, python 3 support is new On Sun, Aug 4, 2013 at 9:38 PM, Anton Yermolenko wrote: > Hi guys > > i'm new to python as well as django. Seeking help for this problem > > I have python 3.3 installed and django 1.5.1 on win 7 > so when i run

Can't run manage.py runserver (Django 1.5.1)

2013-08-04 Thread Anton Yermolenko
Hi guys i'm new to python as well as django. Seeking help for this problem I have python 3.3 installed and django 1.5.1 on win 7 so when i run manage.py runserver i got this error message c:\mysite>python manage.py runserver Validating models... 0 errors found August 04, 2013 - 18:51:37 Django

django and favicon.ico

2013-08-04 Thread Tundebabzy
Hi, Is there any documentation on how django behaves during a GET /favicon.ico? In my django 1.4.5 installation with runserver, GET /favicon.ico redirects to /media/img/favicon; on OpenShift, it redirects to /media/favicon.ico. My googlefu has failed me. -- You received this message because

Re: How to store position of current/active navigation entry

2013-08-04 Thread Goran
There is no usual way to do this because you can have anything behind menu item. So here is what I do in the same situations. Let say that we have some categories listed in your navi. Every category must have unique ID so in navi view pass some variable with that ID for example "foo = entry.pk"

Re: [Errno 13] Permission denied: '.cache' - where is the directory I need to change permission

2013-08-04 Thread Goran
>From my opinion you as user don't have appropriated permissions. Ask from your server administrator to upgrade your permissions. You will have the same problem later when django apps try to create folders to store images or something other but it depend from your installed apps. On

Re: Problem with static in Django 1.5 virtualenv

2013-08-04 Thread Ovnicraft
On Thursday, August 1, 2013, Jairo Alonso Velásquez wrote: > Hi community, I posted a problem here: > > > http://stackoverflow.com/questions/18005574/django-1-5-get-404-on-static-files > > I will do it again here if somebody can help me: > > In django 1.5 there are changes about this in

Re: How to store position of current/active navigation entry

2013-08-04 Thread DJ-Tom
Hi, I don't think I know how to actually do what you are suggesting. Lets say I have three menu options with the following URLS: "One" - /one/show "Two" - /two/show "Three" - /three/show Currently I have somthing like this in my main.html page template: {% if navi %} > {%

For those that do i18n and L10n

2013-08-04 Thread Lachlan Musicman
Here is an interesting paper on the use of FOSS in translation (in English, about Spanish) http://www.trans-int.org/index.php/transint/article/view/205/127 cheers L. -- We are like a drunk blundering through a crowd of pickpockets. That we are not poor and naked already is a testament to