Hi all, I'm new to Django, and trying to port my old site to Django for
practice purpose.
Different from Django multilingual implementation by using cookie, I want to
add lang code to every url, i.e:
/en/my_app/something_here/1/2/3/4/
/de/my_app/something_here/1/2/3/4/
/fr/my_app/something_her
Wow, this is exactly what I'm looking for. I'm gonna try this app soon. Thanks!
--Tirta
-Original Message-
From: Malcolm Tredinnick
Date: Mon, 22 Dec 2008 15:26:42
To:
Subject: Re: Language code prefix in url
On Sun, 2008-12-21 at 19:52 -0800, Tirta K. Untario wrote:
>
Hi all,
I'm developing a simple todo list. I use Django Auth for handling
authentication. This is my models.py
from django.contrib.auth.models import User
class Item(models.Model):
project = models.ForeignKey(Project)
category= models.ForeignKey(Category)
title = model
(User, related_name='createdBy')
assigned_to = models.ForeignKey(User, related_name='assignedBy')
or something like that. That works.
Tirta K. Untario wrote:
> Hi all,
>
> I'm developing a simple todo list. I use Django Auth for handling
> authenti
vance.
--Tirta
-Original Message-
From: "Tirta K. Untario"
Date: Wed, 24 Dec 2008 01:39:20
To:
Subject: Model with 2 foreignkey to User
Hi all,
I'm developing a simple todo list. I use Django Auth for handling
authentication. This is my models.py
from django.contri
-list.org/weblog/2008/dec/24/admin/
>
>
>
> Tirta K. Untario wrote:
> > This is a continuation from my last question.
> >
> > created_by = models.ForeignKey(User)
> >
> > I want to automatically use current logged in user as
> value. Can I
I haven't found an MTV framework like Django on PHP and Django has a very
unique concept behind it.
But if you want and MVC framework like Rails or Pylons, I recommend you Kohana
framework - http://www.kohanaphp.com. Originally based on CodeIgniter, it has
evolved a lot, and I vote it as the be
You don't have mysqldb module on your system. Install it by using this:
'easy_install MySQLdb'
--Tirta
-Original Message-
From: joti chand
Date: Sun, 18 Jan 2009 20:21:45
To:
Subject: syncdb error
hi all iam getting this error when i try to do syncdb please can anyone help
c:\py_
8 matches
Mail list logo