Installed django recently, followed the django tutorial pdf to some
where arround page 20. But got problems...
It's on ubuntu 14.04, I have ipython installed and the following command
some how brings up ipython. And it will raise exception for command
In the tutorial poll app, we have models.py like
from django.db import models
# Create your models here.
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
class Choice(models.Model):
poll =
Thanks refreegrata. I know PostgreSQL is a good RDBMS, but tough on encoding...
I'll start django with MySQL. By doing this, mysql shell cannot do
much data manipulation already...
In php, utf8 tables is not enough. Every time connect to mysql
database, you need to say
mysql_query("SET
Elim Qiu <elim@gmail.com> wrote:
>> I just start try django 1.3.1, still in the step I of the tutorial,
>> but noticed that the tables created is in latin1 encoding while I
>> prefer utf8 for the entire app.
>
> This https://docs.djangoproject.com/en/dev/
I just start try django 1.3.1, still in the step I of the tutorial,
but noticed that the tables created is in latin1 encoding while I
prefer utf8 for the entire app.
I don't want to set the database default char encoding to be utf8
since I have other non-django apps.
What is the proper way of
Thanks Russell Keith-Magee's comments. Very helpful.
I think the main question is still about the whole architecture.
I'm a WebObjects developer for many years. I think WebObjects' architecture
is great:
(1) EOModel: a set of propertyList files describes the mapping of database
tables to
I followed a installation instruction and got
Apache/2.2.15 (Win32) SVN/1.6.12 mod_wsgi/3.3 Python/2.7 PHP/5.2.5 DAV/2
installed OK. Meaning that
I inserted the following lines to my httpd.conf:
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias /wsgi "F:/Apache/appwsgi/wsgi_handler.py"
, then it's fine and I'll move forward:)
Thanks Karen
On Tue, Aug 31, 2010 at 5:10 AM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Tue, Aug 31, 2010 at 3:14 AM, Elim Qiu <elim@gmail.com> wrote:
>
>> I'm in tutorial 2. Looks like I did something wrong. Please help.
Thanks Rolando Espinoza La Fuente !
On Mon, Aug 30, 2010 at 8:27 PM, Rolando Espinoza La Fuente <
dark...@gmail.com> wrote:
> On Mon, Aug 30, 2010 at 1:58 PM, elim wrote:
> > In my MySQL's my.ini, I have
> >
> > default-character-set=latin1
> >
> > But I like to use utf-8
9 matches
Mail list logo