You can't really do it that easily with the default django template
language,
bu check out Jinnja2,
http://jinja.pocoo.org/2/documentation/
it's an alternative template language/system that can be plugged into
django.
it offers what you need and more useful features that save you time
and make yo
Exactly like Vriens said, it's a problem of encoding.
Your best bet is to use UTF-8 all across. Set your DB to use UTF-8, use
a UTF-8 capable editor, add a meta tag to your html to indicate the
UTF-8 encoding. etc.
On Dec 28, 11:49 am, "Marijn P. Vriens" <[EMAIL PROTECTED]> wrote:
On Thursday 2
On Dec 28, 11:48 am, David Zhou <[EMAIL PROTECTED]> wrote:
On Dec 28, 2006, at 10:19 AM, Trey wrote:
> class Post(models.Model):
>postId = models.AutoField(primary_key = True)
>userId = models.ForeignKey(User, db_column = 'userId')
>title = models.CharField(maxlength = 100)
> cla
On Dec 20, 9:45 am, "cwurld" <[EMAIL PROTECTED]> wrote:
Thanks for all your replies. I can get things working the way you
recommend, but I am concerned with the way it forces me to separate
parts of my apps and it seems to create unnecessary complexity.
I think it is important to distinguish
4 matches
Mail list logo