Re: Translation from templates doesn't work.

2013-11-24 Thread gilberto dos santos alves
please could you post url or some more details! Em domingo, 24 de novembro de 2013 07h21min12s UTC, Shahar Or escreveu: > > String in my template don't translate. They stay English even though they > do pop up in the po files using `makemessages`. > > To make sure that the current `lang` is indee

Re: django windows user

2013-08-12 Thread gilberto dos santos alves
search google for cpanel many providers have this (also google have one). and see lots of steps that you could use. [1] [1] https://cpanel.net/ Em sábado, 10 de agosto de 2013 19h27min47s UTC-3, Robin Lery escreveu: > > Hello, > I am a windows user, and its great learning django and python as w

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

2013-08-05 Thread gilberto dos santos alves
at beginning of each of your python file put this directive for declare that your files are using this encode. review what text editor you are using and when you save your files verify that is using unicode utf-8. many times this occurs when use accent chars like (õ, é, etc) like in portuguese

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 da

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 lib

Re: django-admin.py startproject mysite error

2013-07-22 Thread gilberto dos santos alves
beside gods of olympo say that env var PYTHONPATH handle this, please verify what your PATH and PYTHONPATH (command echo $PATH; echo $PYTHONPATH) (where this is setting depends of what shell (sh, bash, etc) set and use export; when i use a shared host i have this same problems. i solve this exp

Re: django-admin.py startproject mysite error

2013-07-21 Thread gilberto dos santos alves
please what appear when you run this code: python import sys for locals in sys.path: print locals Em sábado, 20 de julho de 2013 18h55min21s UTC-3, Jay Lozier escreveu: > > Using openSUSE 12.3 > python 2.7.3 > django 1.5.1 installed manually and verified > > When I enter "django-admin.py

Re: First-time user: Creating first project in tutorial

2013-07-16 Thread gilberto dos santos alves
Please what is your environment (windows, os x, linux), what procedure you use to start? these details are very import for we help you. Em segunda-feira, 15 de julho de 2013 14h43min11s UTC-3, Joshua Phillips escreveu: > > Hello All, >I'm running django for the first time using the enthought

Re: no style in admin pages; learning from djangobook.com

2013-07-01 Thread gilberto dos santos alves
please post details of what you do and what you expected. details django version, os and version. etc. Em segunda-feira, 1 de julho de 2013 10h05min31s UTC-3, Jared Nielsen escreveu: > > Hi all, > Just getting started with Django. > I'm following the projects on djangobook.com. > After activatin

Re: configure apache for shared hosting using fcgi

2013-06-28 Thread gilberto dos santos alves
please take steps bellow, for understand what is going on. for run django app on shared host where we have apache2 and fcgi module installed like hostgator.com step 01 - create symbolic link for static (css, img, js) 1.1 if in your provid

Re: Django-admin-tools unicode problem

2013-06-26 Thread gilberto dos santos alves
tudo depende do seu editor de texto. por exemplo no windows em português do brasil normalmente é usado o cp1250 como padrão. mas na hora de salvar o seu arquivo você pode escolher salvá-lo como utf-8 (aí no início do código vai a correspondente diretiva) se preferir salvar em outro codepage deve

Re: Django 1.4 tutorial part 1 seems broken at the superuser creation stage.

2013-06-16 Thread gilberto dos santos alves
please see your locale environment var. what is your os (linux, windows, mac) please post your files. how you installed your django? Em domingo, 16 de junho de 2013 04h06min32s UTC-3, Ed escreveu: > > Hello Dear Django Group. > > My first day with Django, I just got it installed on my computer, a

Re: Problems installing my first django app

2013-05-12 Thread gilberto dos santos alves
use command whereis django-admin.py (ubuntu, fedora, centos etc) put this on folder /usr/local/bin. if whereis result not found use another command: find / -iname 'django-admin*'and you will see all files that begin with django-admin (* is coringa) Em domingo, 12 de maio de 2013 05h59min29s

Re: Blog writen by django?

2013-04-29 Thread gilberto dos santos alves
ges is well worth bookmarking -- it's a good archive of Django > packages for a wide range of website features, not just blogs. > > Yours, > Russ Magee %-) > > On Mon, Apr 29, 2013 at 11:22 AM, gilberto dos santos alves < > gsa...@gmail.com > wrote: > >>

Re: Blog writen by django?

2013-04-28 Thread gilberto dos santos alves
please could you point some one because this url [1], and this url [2] have conceptual problems and not only mistype error. while this i am update docs for url [1], but it shows very poor html display and models. url:: [1] http://www.djangorocks.com/tutorials/how-to-create-a-basic-blog-in-djang