Looking for someone to check into this, before i submit
problem is with __isnull=False handling
backend is psycopg2
tables:
class Person(models.Model):
name = models.CharField(max_length=60)
surname = models.CharField(max_length=60)
class SampleTest(models.Model):
person = models.On
yes it is
On Jan 29, 11:58 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 29-Jan-08, at 4:18 PM, sircco wrote:
>
> > I have grid 10x10 populated with int>0.
>
> is the size fixed?
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfoss
I have grid 10x10 populated with int>0.
Currently I'm avoiding modelforms all together and doing my own
processing, definining it as array and rendering with
loop, custom checking with my own validators outside of database
Model.
Any hints how to standardize it and move to django way of thinking?
tnx, works even with internationalized data!
Damir
On Nov 3, 7:38 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> > Question is how to show query from database on template with localized
> > output
>
> Try this in your template (assuming p is a person model instance
> available to your template):
>
>
lets say i have a model
from django.utils.translation import ugettext_lazy as _
class Person (models.Model):
GENDER = (
(0, _('Male'),
(1,_('Female')
)
name = models.CharField(maxlength=100)
gender = models.IntegerField(choic
lets say i have model
.
.
class Person (models.Model):
CHOICE = ( (0,_("m"),
(1,_("f"))
gender = models.IntegerField(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
6 matches
Mail list logo